Keyestudio EASY PLUG Ultimate Starter Kit Manual page 77

For arduino stem edu
Table of Contents

Advertisement

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')
{

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Keyestudio EASY PLUG Ultimate Starter Kit

Table of Contents