Neue Version via Interrupt und für ESP32 zur Vermeidung von Timing-Problemen

HCPBridgeISR für ESP8266
HCPBridgeESP32 für ESP32
HCPBridge nicht mehr nutzen!
This commit is contained in:
Maik Hofmann
2021-02-24 19:08:31 +01:00
parent 3906d73c42
commit e13f6e5274
45 changed files with 2486 additions and 430 deletions

View File

@ -5,6 +5,10 @@
#include "hciemulator.h"
#include "index_html.h"
!!! DONT USE THIS, BECAUSE OF TIMING PROBLEMS !!!
!!! USE THE ISR VERSION OR SWITCH TO ESP32 !!!
/* create this file and add your wlan credentials
const char* ssid = "MyWLANSID";
const char* password = "MYPASSWORD";
@ -61,8 +65,6 @@ void switchLamp(bool on){
}
}
// setup mcu
void setup(){
@ -71,6 +73,7 @@ void setup(){
#ifdef SWAPUART
RS485.swap();
#endif
//setup wifi
WiFi.mode(WIFI_STA);