CharlieII said...
Also, I somehow managed to change my cursor in the propeller tool from the vertical line that is normally used to the old school horizontal blinking cursor. It is driving me insane, so if anyone knows what I did to toggle it to this thing I would really like to change it back
press the insert key to skip through the different modes.
(a) You have to toggle CS to start a new conversion of the ADC, you just drop it once, so you get ane conversion only.
(b) You must not call term.main in each cycle! This is... absurd. Even for a beginner.
(c) You should read through the excellent chapter 3 of the Manual. Maybe even skim through chapter 2. You can find the manual under PropellerTool: HELP -> MANUAL
Thanks, lol. And I do realize that most of my methods are likely absurd but I just need it to work, and memory space, pin usage and such are not a big deal because for my application I don't need a whole lot given the absurd capability of the propeller.
With that having been said, I do strive to do my best, but unfortunately I can't know what is illogical until it's pointed out.
So thanks, and I will definately make those changes. Hopefully it runs smoothly now.
I just tried to figure out a better place for the Term.Main and I couldn't figure out how to do it if not every single time after the ADC is read in. Otherwise how would it know when to look at the variable "analog" ?
But the term.Main is definately killing this thing. The refresh rate is hanus.
How am I supposed to call it? I'll go read the manual for the 16 millionth time, but my understanding or lack thereof will likely not be effected
Comments
(a) You have to toggle CS to start a new conversion of the ADC, you just drop it once, so you get ane conversion only.
(b) You must not call term.main in each cycle! This is... absurd. Even for a beginner.
(c) You should read through the excellent chapter 3 of the Manual. Maybe even skim through chapter 2. You can find the manual under PropellerTool: HELP -> MANUAL
With that having been said, I do strive to do my best, but unfortunately I can't know what is illogical until it's pointed out.
So thanks, and I will definately make those changes. Hopefully it runs smoothly now.
But the term.Main is definately killing this thing. The refresh rate is hanus.
How am I supposed to call it? I'll go read the manual for the 16 millionth time, but my understanding or lack thereof will likely not be effected
And thanks again for the help.
Thanks guys.