Propeller ASM help needed (Got it working)
Bean
Posts: 8,129
Okay I'm trying to blink an LED with assembly.
It will turn on ONE TIME, then turn off and never come on again.
What am I doing wrong ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap 4-digit LED display with driver IC·www.hc4led.com
COMING SOON "SD DATA LOGGER" www.sddatalogger.com
"I reject your reality, and substitute my own." Mythbusters
Post Edited (Bean (Hitt Consulting)) : 5/9/2006 11:49:52 PM GMT
It will turn on ONE TIME, then turn off and never come on again.
What am I doing wrong ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap 4-digit LED display with driver IC·www.hc4led.com
COMING SOON "SD DATA LOGGER" www.sddatalogger.com
"I reject your reality, and substitute my own." Mythbusters
Post Edited (Bean (Hitt Consulting)) : 5/9/2006 11:49:52 PM GMT
Comments
right before the JMP statement. That way you'll at least have an idea of which part of the program is failing, the loop or turning the LED back on. If the LED goes on and off twice it's the loop. If it goes on and off once it's a problem turning the LED back on.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
· Excellent idea.
· I tried it and it blinks twice. So why doesn't "JMP :again" seem to be working ???
· I tried it without the leading ":" and it doesn't work that way either.
Edit: Found it!!! I needed to use "JMP #:again"
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap 4-digit LED display with driver IC·www.hc4led.com
COMING SOON "SD DATA LOGGER" www.sddatalogger.com
"I reject your reality, and substitute my own." Mythbusters
Post Edited (Bean (Hitt Consulting)) : 5/9/2006 11:27:23 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax