Hi Darrel. It looks very good! Congratulations on that!
Very good job.
Ioannis
I'd run in to the exact same issues between 127 and 128. Never had time to investigate it further.
My implementation just used a state machine in the interrupt routine - 1 state for each bit.
Each state sets TMR1 to a different level, then sets / clears the appropriate pins.
I assume that you're implementing the 2xF 'mirror' method in a similar way? Very clever.
Last edited by JEC; - 19th January 2009 at 18:24.
Hi Ioannis
Hi John,
Just yesterday I was thinking about how this might be good for your Christmas Lights.
Apparently, the thought had not escaped you.
Well, the best method, is still to be determined. I'm trying every way I can think of ...
Currently, I'm rotating the DutyCycle out to the Pin, and when rotating it left, I shift the timer value Right to give 1/2 the period for the next bit, when rotating right, the timerval gets shifted left for 2x the period.
I'm also trying to incorporate the "Cylon Scanner" that Bruce and I were playing with last year.
With the mirror image, the bit's are scanned back and forth much like a Cylon (or Kitt the car).
Never thought that optimization exercise would actually be useful some day.
<br>
DT
Pity the 10F doesn't have a TMR1... Just yesterday I was thinking about how this might be good for your Christmas Lights.
Apparently, the thought had not escaped you.
![]()
Bookmarks