Merge branch 'master' of https://git.efi.th-nuernberg.de/gitea/schmidtsi76327/ESP8266_Treppenlicht
This commit is contained in:
commit
ee72092a3a
3
doku.txt
Normal file
3
doku.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Hardware Timer didnt work https://github.com/khoih-prog/ESP8266TimerInterrupt#why-using-isr-based-hardware-timer-interrupt-is-better
|
||||||
|
=> Software Timer https://ullisroboterseite.de/esp8266-timing.html#timer
|
||||||
|
|
@ -196,6 +196,7 @@ void setup() {
|
|||||||
os_timer_setfn(&Timer1, timerCallback, &c);
|
os_timer_setfn(&Timer1, timerCallback, &c);
|
||||||
os_timer_arm(&Timer1, 1, true);
|
os_timer_arm(&Timer1, 1, true);
|
||||||
|
|
||||||
|
|
||||||
Serial.println("Ready");
|
Serial.println("Ready");
|
||||||
Serial.print("IP address: ");
|
Serial.print("IP address: ");
|
||||||
Serial.println(WiFi.localIP());
|
Serial.println(WiFi.localIP());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user