STM8S003F3P6 with Relay BREAKOUT BOARD 5V ET7563

100.00

  • MADE IN INDIA

Out of stock

Email when stock available

Description

  • INPUT  SUPPORT 5V  OR  3.3V COMPATIBLE
  • 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);
}