playfultechnology / esp32-smartcube

ESP32 interface to Bluetooth LE "Smart" Rubik's Cube (Giiker, Xiaomi etc.)
30 stars 9 forks source link

Mqtt interface #2

Open aliakbar-bsr opened 3 years ago

aliakbar-bsr commented 3 years ago

I added a few lines of mqtt and WiFi to your sketch but it boot repeadatly and I think its because of callback functions. so i want to know is there a way to out put Serial.print() commands by Rx TX or other gpios by UART communication to add mqtt function ? If yes put a little help by sample code to do that. I want to use another esp to add mqtt function

NicHub commented 1 year ago

To stop the ESP from crashing, simply add return true; after line 215 (Serial.println("READY!");) of the esp32_smartcube.ino sketch.

4R3B3LatH34R7 commented 9 months ago

To stop the ESP from crashing, simply add return true; after line 215 (Serial.println("READY!");) of the esp32_smartcube.ino sketch.

Thank you. That saved me a lot of hairs because I was starting to pull my hairs out.