EasyManua.ls Logo

Keyestudio EASY PLUG Ultimate Starter Kit - Page 77

Keyestudio EASY PLUG Ultimate Starter Kit
239 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
Connect It Up
Connect the control board to your computer via a micro USB cable.
Upload the Code
Below is an example code for displaying the Hello World!
////////////////////////////////////////////////////////////////////////////
int val;
int ledpin=13;
void setup()
{
Serial.begin(9600);
pinMode(ledpin,OUTPUT);
}
void loop()
{
val=Serial.read();
if(val=='R')
{

Related product manuals