The LED bulb I prepared is as follows. It is a relatively cheap LED bulb and the quality is not good, so I won’t feel bad if it breaks.After disassembly, it is as shown below. It consists of a shell,
[align=left][size=3] [/size][font=微软雅黑][size=3] [b] Surge protector, also called lightning arrester, is an electronic device that provides safety protection for various electronic equipment, instrumen
代码
#include "driverlib.h"
void main (void)
{//Stop watchdog timerWDT_A_hold(WDT_A_BASE);//Set P1.0 to output directionGPIO_setAsOutputPin(GPIO_PORT_P1,GPIO_PIN0);//Enable P1.4 internal resistance as p