Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Bytematch error

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1192
Location: SYDNEY

australia.gif
PostPosted: Sun Mar 01, 2020 8:31 am    Post subject: Bytematch error Reply with quote

Getting an error with bytematch=all
Error : 61 Line : 196 Label not found [SERIAL0BYTERECEIVED] , in File : C:\MCS\BASCAVR2082\LIB\MCS.LBX


Regards Paul


(BASCOM-AVR version : 2.0.8.2 )
Back to top
View user's profile
hgrueneis

Bascom Member



Joined: 04 Apr 2009
Posts: 859
Location: A-4786 Brunnenthal

austria.gif
PostPosted: Sun Mar 01, 2020 9:34 am    Post subject: Reply with quote

Paul.
look up the 'config serialin' help.

Best regards
Hubert
Back to top
View user's profile
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1192
Location: SYDNEY

australia.gif
PostPosted: Sun Mar 01, 2020 9:41 am    Post subject: Reply with quote

I did and that is where I went wrong!
its no longer Serial0charmatch its now Serial0bytereceived
Its in the error message Label not found [SERIAL0BYTERECEIVED] Shocked
Regards Paul
Back to top
View user's profile
hgrueneis

Bascom Member



Joined: 04 Apr 2009
Posts: 859
Location: A-4786 Brunnenthal

austria.gif
PostPosted: Sun Mar 01, 2020 10:23 pm    Post subject: Reply with quote

Paul,

HELP:

'The following label names must be used when you check for any value:


Serial0ByteReceived (for SERIALIN or the first UART/UART0)'

The program jumps to that label after a byte is received.

You have to create that label and finish it with a 'RETURN'.

That is my understanding of what is in the help text.

Best regards
Hubert
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
Page 1 of 1

 
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