Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:52 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : OPTION AUTORUN ON

Author Message
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 864
Posted: 07:09pm 04 Dec 2023
Copy link to clipboard 
Print this post

Most of the options are set from the command prompt but can AUTORUN be part of the code?
 
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1113
Posted: 07:22pm 04 Dec 2023
Copy link to clipboard 
Print this post


> list
Option AUTORUN  off
> run
> option list
PicoMite MMBasic Version 5.07.08RC21
OPTION SYSTEM SPI GP6,GP3,GP4
OPTION CPUSPEED  252000 'KHz
OPTION DISPLAY 28, 80
OPTION LCDPANEL ILI9341, RLANDSCAPE,GP2,GP1,GP0
OPTION TOUCH GP5,GP7
GUI CALIBRATE 0, 368, 294, 882, 666
OPTION SDCARD GP22
OPTION AUDIO GP20,GP21', ON PWM CHANNEL 2
OPTION MODBUFF ENABLE


Saved 20 bytes
> list
Option AUTORUN  1
> run
> option list
PicoMite MMBasic Version 5.07.08RC21
OPTION SYSTEM SPI GP6,GP3,GP4
OPTION AUTORUN  1
OPTION CPUSPEED  252000 'KHz
OPTION DISPLAY 28, 80
OPTION LCDPANEL ILI9341, RLANDSCAPE,GP2,GP1,GP0
OPTION TOUCH GP5,GP7
GUI CALIBRATE 0, 368, 294, 882, 666
OPTION SDCARD GP22
OPTION AUDIO GP20,GP21', ON PWM CHANNEL 2
OPTION MODBUFF ENABLE

--


> list
Option AUTORUN  on
> RUN
> option list
PicoMite MMBasic Version 5.07.08RC21
OPTION SYSTEM SPI GP6,GP3,GP4
OPTION AUTORUN  ON
OPTION CPUSPEED  252000 'KHz
OPTION DISPLAY 28, 80
OPTION LCDPANEL ILI9341, RLANDSCAPE,GP2,GP1,GP0
OPTION TOUCH GP5,GP7
GUI CALIBRATE 0, 368, 294, 882, 666
OPTION SDCARD GP22
OPTION AUDIO GP20,GP21', ON PWM CHANNEL 2
OPTION MODBUFF ENABLE

so, yes it can be part of the Program
Edited 2023-12-05 05:25 by Martin H.
'no comment
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2129
Posted: 08:33pm 04 Dec 2023
Copy link to clipboard 
Print this post

I only used autorun on in a program. I was told only to use it when the code was debugged.. whenever that is but it's great if you can't remember what a board did :)
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6797
Posted: 09:56pm 04 Dec 2023
Copy link to clipboard 
Print this post

I think that might be what comments are for, Stan. :)

The advice not to use it until your code is working is good. Especially if you change Break too....
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024