Mydin-advanced-usage
Révision datée du 29 avril 2025 à 16:33 par Admin (discussion | contributions) (Page créée avec « {{MyDin-NAV}} == Abstract == Before going into the details of the various controlers and backplanes, it may be opportune to learn some advanced behaviors of the MyDin asy… »)
Abstract
Before going into the details of the various controlers and backplanes, it may be opportune to learn some advanced behaviors of the MyDin asyncio implementation.
RUN_APP
RUN_APP pin is used to stop the MyDin software stack (or script execution after a reboot).
It is a convenient way to recover the control on the module when script goes wrong. It would also offer the full access to REPL.
When setting the RUN_APP pin to the "Stop" position (so tied to ground) while the MyDin software is run
Exception handling
An exception occuring in the userloop task will be captured and will ends the