Firstly my apologies....I thought I'd thanked you all, just come back to this thread to find I hadn't so Thank You!
Ok, so it seem 4096 words being used seems to be the 'significant' number wrt using a 16f690 ....anything more & I get compilation error messages.
So I started commenting out a few lines of code to see which commands are eating the word count.
By taking out about six (long) lines inserted randomly throughout my code as follows,.....
Code:
IF debug_active= 1 then DEBUG "below pwm= ", DEC pwm_width," Target= ",DEC target," Sig= ", DEC signal_in, " Mode_status =", DEC mode, " On_Status = ", dec on_status, " AGC Status= ", dec Agc_on_status, 13, 10
(debug_active is just variable I use to erhmm activate/deactivate debug info out the debug port/pin)
......the words count used in my program plummets from around 4080-ish to about 1700 words?!!!
Can anyone explain why? (or have a good pop & accounting for the word plummet?!)
& while I'm on, which are the most hungry commands from using up the word space?
cheers,
Hank.
Bookmarks