MMbasic & picomite


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11636
Posted: 02:03pm 10 Nov 2022      

Facts

Autorun is a permanent option so setting it writes to the flash memory to save the option. However, setting Autorun does not trigger a reset so it can be used in a program.  Once set it is redundant keep resetting it so it is most sensible to set it once from the command line if required but benign in a program. This is the same in all chip versions of MMbasic

Options are reset with the command OPTION RESET or by installing a new release where the option structure changes and I force a reset or by running a program which causes a system trap (e.g. pokeing something stupid).

As with all these threads, using MMEdit can confuse beginners so it is much better to use teraterm until you are sure what you are doing. That reduces the scope for artefacts confusing things like the OPs' issue with RTC/I2C