There are many mentions of hard/soft resets throughout the documentation (like paragraph 3.5 of the tutorial) but hardly ever a explanation of what happens.A soft reset simply clears the state of the MicroPython virtual machine, but leaves hardware peripherals unaffected.
To enhance my question:
- Is the micropython virtual machine simply restarted? What is the process of that restart?
- Is there some clean-up that happens before that restart? If there is, is there a way to hook into it?
- Is the hardware state left as is or are there bits and bobs that are somehow reset to more or less startup values?
Code: Select all
Deinitializing ILI9341..
MPY: soft reboot