Description
- INPUT vVOLTAGE 5V DC
- Board color may be different
- High quality FR4 DOUBLE SIDE pcb
- Brand -Emerging Technologies
ARDUINOIDE SUPPORT
- INSTALL SDUINO BOARD IN ARDUINOIDE (https://github.com/tenbaht/sduino )
- USE STLINK V2 TO PROGRAM
- SELECT BOARD STM8S103F3 AS PER PICTURE .
SAMPLE PROGRAM
#define relay PC3
#define led PB5
void setup()
{
pinMode(relay , OUTPUT);
pinMode(led , OUTPUT);
}
void loop()
{
digitalWrite(relay, HIGH);
digitalWrite(led, LOW);
delay(500);
digitalWrite(relay, LOW);
digitalWrite(led, HIGH);
delay(500);
}