Error in example deep sleep shield api doc

  • There seems to be an error in the deep shield api example of the doc chapter

    from deepsleep import DeepSleep
    ds = DeepSleep() 

    needs to be replaced by:

    import deepsleep
    ds = deepsleep.DeepSleep()

    to prevent an error in

    if wake_s['wake'] == deepsleep.PIN_WAKE:

Pycom on Twitter