arduino:esp8266
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arduino:esp8266 [2017/10/02 12:23] – aistis | arduino:esp8266 [2017/10/02 14:57] (current) – aistis | ||
|---|---|---|---|
| Line 42: | Line 42: | ||
| https:// | https:// | ||
| - | BLINK | + | BLINK melyna wifi lempute |
| <code c++> | <code c++> | ||
| // the setup function runs once when you press reset or power the board | // the setup function runs once when you press reset or power the board | ||
| void setup() { | void setup() { | ||
| // initialize digital pin 13 as an output. | // initialize digital pin 13 as an output. | ||
| - | pinMode(2, OUTPUT); | + | pinMode(1, OUTPUT); |
| } | } | ||
| // the loop function runs over and over again forever | // the loop function runs over and over again forever | ||
| void loop() { | void loop() { | ||
| - | digitalWrite(2, HIGH); | + | digitalWrite(1, HIGH); |
| - | delay(1000); // wait for a second | + | delay(100); // wait for a second |
| - | digitalWrite(2, LOW); // turn the LED off by making the voltage LOW | + | digitalWrite(1, LOW); // turn the LED off by making the voltage LOW |
| - | delay(1000); // wait for a second | + | delay(100); // wait for a second |
| } | } | ||
| - | |||
| </ | </ | ||
| + | |||
| + | |||
| + | deep-sleep kad miegotu, reikia sujungti 2 kontaktus ir nuzudyti power led'a | ||
| + | |||
| + | https:// | ||
| + | |||
arduino/esp8266.1506936230.txt.gz · Last modified: by aistis
