| | power_off()
|
| Hi I have been trying to get the power_off() function to work, but every time I call it it either hangs the RCX just before turning off, or turns the RCX off and I can not turn it back on. In both cases I have to remove the batteries and wait for (...) (23 years ago, 8-Oct-01, to lugnet.robotics.rcx.legos)
| | | | RE: power_off()
|
| (...) Mike, I ran into a similar problem when debugging pbForth years ago. Make sure that the stack pointer is saved somewhere in the on-chip memory of the RCX BEFORE putting the RCX to sleep. The sleep function puts the external RAM into a (...) (23 years ago, 8-Oct-01, to lugnet.robotics.rcx.legos)
| |