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:
@ -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);
|
||||
|
Reference in New Issue
Block a user