Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - Can a basic program be saved and survive a power off #26

Closed
bossesand opened this issue Apr 28, 2016 · 3 comments
Closed

Question - Can a basic program be saved and survive a power off #26

bossesand opened this issue Apr 28, 2016 · 3 comments

Comments

@bossesand
Copy link

I cannot find any information if it is possible to create a device with a permanent program that will run after power up.

How is that to be done?

@JBtje
Copy link

JBtje commented Apr 28, 2016

https://github.com/JBtje/BlueBasic/wiki/_AUTORUN

I had some trouble with this command, seems not always to work as good as hoped for. In my implementation I let the software sens a RUN command each time it connects to the sensor.

Best regards,
Jeffrey

@0xFACE
Copy link

0xFACE commented Apr 28, 2016

I allways end my script with sentence

AUTORUN ON
RUN
REBOOT

It works for me.

@aanon4
Copy link
Owner

aanon4 commented May 16, 2016

Programs are always written to FLASH so will always be there after power cycling. As noted by others, the AUTORUN ON command should make sure it runs after reboot. There's a short delay before the autorun to allow you to break in on a console in case there's a problem.

@aanon4 aanon4 closed this as completed May 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants