Code
Posted: Fri Apr 22, 2011 11:36 am
Hi Brad,
I have completed my POV display based on your one chip instructables and everything works like a charm. Thanks a lot for all the help!
I was wondering if you (or anyone else!) have ever written any code that allows a single image (80x8) to rotate constantly around the display.
I tried one based on your POV converter software that simply adds an increasing delay each time the sensor is tripped.
The issue with this is that it runs into problems when the sensor is tripped during the delay (when the image is almost all the way around).
Perhaps there is a way to ignore sensor input while the DisplayGraphics function is running?
Just curious if you had any ideas or previous code addressing this problem, as you are a much more elegant programmer than myself.
Thanks again!
I have completed my POV display based on your one chip instructables and everything works like a charm. Thanks a lot for all the help!
I was wondering if you (or anyone else!) have ever written any code that allows a single image (80x8) to rotate constantly around the display.
I tried one based on your POV converter software that simply adds an increasing delay each time the sensor is tripped.
Code: Select all
y = 0
While True() // This creates an infinite loop
If PORTE.bits(2) = 0 Then
DelayMS(y)
DisplayGraphics
y=y+1
EndIf
If y = 100 Then //Resets the delay after while so it doesn't keep getting longer
y = 0
EndIf
Wend
Perhaps there is a way to ignore sensor input while the DisplayGraphics function is running?
Just curious if you had any ideas or previous code addressing this problem, as you are a much more elegant programmer than myself.
Thanks again!