Video Novice needs advice about screen updates
R Baggett
Posts: 218
in Propeller 2
I have based my HMI on the P2_SolarPanelMonitorDemo. I notice update flickering as it is redrawn about every 20 mS.
I wish to avoid this flickering.
- I could just redraw on change. this may be practical, but would probably still be noticeable in the redrawn part of the screen.
- I notice PUB routines waitForVsync(display) and waitForBlanking(display) in P2VideoDrv. I assume these are provided as an aid to avoid my problem, but are not used in P2SimpleVideo which is an object of the solar panel demo.
Should I mod P2SimpleVideo to use one of these, or modify it to expose these to my program?
Which would be best to use?
Warning, I have almost no idea of what I am doing... I just have some vague recollection that syncing changes to one of these events is the way to do this...
Thanks!
