You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
Please include the following information when submitting a bug report:
The Pycom board you are using (e.g. WiPy 2.0, LoPy). Lopy
The firmware version you are using. You can get it by executing the following Python code at the REPL:
(sysname='LoPy', nodename='LoPy', release='1.9.2.b2', version='v1.8.6-796-g489fafa0 on 2017-10-15', machine='LoPy with ESP32', lorawan='1.0.0' )
The following code prevents the LoPy for changing in deepsleep, issued by the initialization of the UART on port 1:
from machine import UART
from deepsleep import DeepSleep
ds = DeepSleep()
uart = UART(1, 9600) # init with given baudrate
uart.init(9600, bits=8, parity=None, stop=1) # init with given parameters
#uart.deinit()
#
ds.go_to_sleep(60) # go to sleep for 60 seconds
If you uncomment the the uart.deinit() the LoPy crash.
Regards
Peter
The text was updated successfully, but these errors were encountered:
Please include the following information when submitting a bug report:
The Pycom board you are using (e.g. WiPy 2.0, LoPy).
Lopy
The firmware version you are using. You can get it by executing the following Python code at the REPL:
The following code prevents the LoPy for changing in deepsleep, issued by the initialization of the UART on port 1:
If you uncomment the the uart.deinit() the LoPy crash.
Regards
Peter
The text was updated successfully, but these errors were encountered: