View previous topic :: View next topic |
Author |
Message |
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Sat Mar 14, 2020 11:25 am Post subject: |
|
|
Duval JP wrote: | I realized that if I didn't make small poses (50ms) between the displays one of the four results was not displayed correctly, |
If one knows the flaw, one sends display data in single chunks, a timer-tick driven state machine can also handle this without need for using waitms.
My message was about having everything in a flow, leave out any waits and do everything continuously, not that stuttering like run - wait - run - wait.
Compare good code with a chime clock, at each quarter a chime is triggered, but the watch moves on and does not execute a wait-state till the chiming has finished. |
|
Back to top |
|
|
Paulvk
Joined: 28 Jul 2006 Posts: 1257 Location: SYDNEY
|
Posted: Sun Mar 15, 2020 1:28 am Post subject: |
|
|
JP
if you put bauds=2400 in the first page’s Preinitialization Event
the baud rate will go to 2400 giving the display more time to react
Valid values are: 2400, 4800, 9600, 19200, 31250, 38400, 57600, and 115200, 230400, 250000, 256000, 512000, and 921600
Note I do not seem to be having problems but you are putting about two times as much
Regards Paul |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|