Do you have an enter before the while True?
@blynk.handle_event('internal_adis')
def app_disconnect_handler(*args):
print("[APP_DISCONNECT_EVENT]")
while True:
blynk.run()
Search found 6 matches
- Sun Jan 17, 2021 5:15 pm
- Forum: General Discussion and Questions
- Topic: ESP32 Virtual Pin Read with Python
- Replies: 2
- Views: 2360
- Fri Jan 08, 2021 9:08 am
- Forum: General Discussion and Questions
- Topic: Async main and WebREPL
- Replies: 2
- Views: 1891
Re: Async main and WebREPL
I am having the same problem. I cannot use WebREPL if I run other code in the While True: loop. On Github there are multiple people reporting a similair issue with WebREPL. https://github.com/micropython/micropython/issues/6748 https://github.com/micropython/micropython/issues/2100 https://github.co...
- Mon Jun 10, 2019 8:01 am
- Forum: ESP32 boards
- Topic: Need help making module
- Replies: 2
- Views: 2391
Re: Need help making module
Looks like esp_camera_sensor_get is returning NULL. Which, looking at https://github.com/espressif/esp32-camera/blob/master/driver/include/esp_camera.h, is because you're not initalizing the camera using esp_camera_init. But it always returns "Flipping Failed". Just for information: you're using in...
- Sun Jun 09, 2019 8:56 pm
- Forum: ESP32 boards
- Topic: Need help making module
- Replies: 2
- Views: 2391
Need help making module
Hi, I am trying to add functions to an existing module. I am not an experienced coder so please be gentle. I am trying to learn. The module is about the ESP32-CAM support. I want to add a flip function. The module is already working. I just want to add functions to it. I manage to call the function ...
- Sat Aug 11, 2018 1:14 pm
- Forum: ESP32 boards
- Topic: ESP32 and LoRa
- Replies: 70
- Views: 99774
Re: ESP32 and LoRa
[quote=Roberthh post_id=29090 time=1533224374 user_id=601] The files which I recently placed in the repository are meant for Pycom devices. The change is adding region IN865. I would not publish code for other device with sx127x chips w/o testing that before. But I do not have such devices available...
- Thu Aug 02, 2018 6:25 am
- Forum: ESP32 boards
- Topic: ESP32 and LoRa
- Replies: 70
- Views: 99774
Re: ESP32 and LoRa
[quote=Roberthh post_id=28487 time=1530648550 user_id=601] Building the image is one thing, but for the image to work also the GPIO pins must match which are used to connect the SX127x chip. But the do not. Sop you have to adapt the LoPy sources to the other connections. CLK, MOSI and MISO see to ma...