Search found 1 match
- Sat Apr 20, 2019 7:24 pm
- Forum: ESP32 boards
- Topic: uPyCraft looses connection to ESP32
- Replies: 13
- Views: 13401
Re: uPyCraft looses connection to ESP32
It does appear that the while True: loop ties up the serial port and won't allow uPyCraft to reconnect to ESP32 boards. For the time being, a work around involves using a break statement in the while True: loop. For example: from machine import Pin, ADC, PWM from time import sleep button = Pin(23, P...