Introduction - If you have any usage issues, please Google them yourself
P1 I extended not only to do experiments P1 I also do input output, KEY1 switch as a left turn, KEY2 as switches and turn right. LED5, LED6 as a left turn lights, LED7, LED8 as lights and turn right (Figure 2-2). Programming car turn signal function, namely: KEY1 high key2 access low-level access, the right turn lights out, left turn to a certain frequency of flashing lights (Note: KEY allocated to the top to 0) KEY2 access high Key1 low-level access, the left turn lights out, turn right to a certain frequency of flashing lights KEY1, KEY2 low at the same time, the light-emitting diode body KEY1, KEY2 high at the same time, the light-emitting diode light-wide.