Keyestudio KS0436 Kit Manual page 95

Table of Contents

Advertisement

1) Connect the
Upload Code:
2) Open the program in the code folder- Circuit 7, or directly copy and
paste the code below on the Ardunio IDE.
3) Select UPLOAD to program the sketch on the UNO Board.
int latchPin = 4;
int clockPin = 5;
int dataPin = 2; //define three pins
void setup ()
{
pinMode(latchPin,OUTPUT);
pinMode(clockPin,OUTPUT);
pinMode(dataPin,OUTPUT); //three pins as output
}
void loop()
{
int a[10]={
252,96,218,242,102,182,190,224,254,246};
array
for(int x=0; x<10 ;x++ )
REV4
Board to a USB port on your computer.
//define functional
//calculate
95

Advertisement

Table of Contents
loading

Table of Contents