www.keyestudio.com
(6) Test Result
(There will be contradict about serial communication between code
and
Bluetooth when uploading code, therefore, don't link with
Bluetooth module before uploading code.)
Upload the program on the development board, LED flickers with
the interval of 1s.
(7) Code Explanation
pinMode(2,OUTPUT) -
Set pin2 to OUTPUT
digitalWrite(2,HIGH) -
When set pin2 to HIGH level(output 5V) or
to LOW level(output 0V)
74