Puck reboot() #1797
Replies: 15 comments
-
Posted at 2016-12-17 by stevie4711 Hi @frida, what would be the difference to reset()? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-17 by Frida reset() wiper only the program in ram out, reboot() takes the saved program if any. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-17 by stevie4711 You could type reset(); save(); If you want a reboot command always available, just do:
That would do the trick for you. It would also be in memory after you reset or saved something. BTW: I would not necessarily name that reboot. After all if you reboot a computer it does not wipe the harddisk :-). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-17 by @MaBecker I guess @frida is thinking of something like this
similar to
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-17 by Frida Yep I have a program saved in EEPROM, that I want to get back running, when I am finished playing with other programs in ram. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-17 by stevie4711 Okay got, it. Sorry for misunderstanding. Yes, that would be useful! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-17 by @MaBecker @gfwilliams is there something we can do for now with a paper clip - like shorten RST to GND ? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-17 by stevie4711 Yes, tested, that works. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by @gfwilliams Surely that is what But yes, @MaBecker you could short the |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by @MaBecker Hmm, so using a 10kΩ resistor is a better choice, than a paper clip :-) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by @MaBecker @gfwilliams is it possible to implement a |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by @gfwilliams What about If you really care about a full hardware reboot you can always just |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by Frida Thank you, load() was just what I needed. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by @gfwilliams No problem - it's not mentioned much in the docs :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-19 by stevie4711 Load is cool! I also overlooked it... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-17 by Frida
Can I have a reboot(), like reset()?
Then it would not be necessary to take the battery out, to reset the Puck.
I have a saved program I want to start again, after I have made some test with other progam's in the ram.
Frida
Beta Was this translation helpful? Give feedback.
All reactions