This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Blink | |
* Turns on an LED on for one second, | |
* then off for one second, repeatedly. | |
*/ | |
#include <Arduino.h> | |
// Set LED_BUILTIN if it is not defined by Arduino framework | |
// #define LED_BUILTIN 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <STM8S103F3P.h> | |
void myDelay(void); | |
void myDelay() | |
{ | |
int i,j; | |
for(i=0;i<1000;i++) | |
{ | |
for(j=0;j<100;) |