EasyManua.ls Logo

Keyestudio Ks0428 - Test Result; Code Explanation

Keyestudio Ks0428
247 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
74
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)

Table of Contents