Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Problems with Print and Bytematch
Goto page Previous  1, 2
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 1813

blank.gif
PostPosted: Sat Mar 14, 2020 11:25 am    Post subject: Reply with quote

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
View user's profile
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1193
Location: SYDNEY

australia.gif
PostPosted: Sun Mar 15, 2020 1:28 am    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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