Greetings, I have a fundamental power question: what is the preferred way to power-down the the pyboard? It seems that its as simple as ejecting the USB drive from the pc, and then just unplugging the pyboard from the usb cable. True? Is there some 'halt' or 'shutdown' command that needs to be executed first?
tnx
pyboard correct power-down sequence
- MarkHaysHarris777
- Posts: 11
- Joined: Wed Apr 29, 2015 11:54 pm
pyboard correct power-down sequence
Cheers,
marcus
marcus
Re: pyboard correct power-down sequence
If you're writing to files, you should probably call os.sync() to make sure that any unwritten blocks actually get written to flash.
But other than that - yeah you can just remove power.
But other than that - yeah you can just remove power.