Pysense deep sleep issues



  • Trying to put my pysense to deep sleep but get this error

     Traceback (most recent call last):
     File "main.py", line 469, in <module>
     File "/flash/lib/pycoproc.py", line 192, in setup_sleep
     File "/flash/lib/pycoproc.py", line 112, in _write
     OSError: I2C bus error
     MicroPython v1.8.6-849-d0dc708 on 2018-02-27; LoPy with ESP32
    Type "help()" for more information.
    
    
    py.setup_sleep(5) #error is here
    py.go_to_sleep()

Log in to reply
 

Pycom on Twitter