Re: Load another Basic Program
Posted: Fri Feb 03, 2017 9:22 pm
I have reformatted twice and and reflashed in both 2M and 4M builds - all with the same reboot problem.
Given the simplistic nature of the two programs I am running:
and
I suspect that it is unlikely to be an out of memory issue - would you agree?
If not, how would you suggest that I go about reducing memory usage?
Cheers
Barry
VK2XBP
Given the simplistic nature of the two programs I am running:
Code: Select all
memclear
button "Load Toggle", [Toggle]
wait
[Toggle]
load "/toggle.bas"
wait
end
and
Code: Select all
let led_pin = 16
let led_state = 1
timer 1000, [toggle_led]
wait
[toggle_led]
if led_state = 1 then
led_state = 0
else
led_state = 1
end if
io(po, led_pin, led_state)
wait
end
I suspect that it is unlikely to be an out of memory issue - would you agree?
If not, how would you suggest that I go about reducing memory usage?
Cheers
Barry
VK2XBP