SwitchcaseUart

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi 

   

I have some errors in my code.

   

I am doing a switch case,  after receiving data from UART.  The compiler isn't so happy doing a muliti character after case like: case 10<EOM>. What alternative could I do.

   

I have attached my code.

   

Thanks. 

0 Likes
1 Solution
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

You called handl() on line 71 w/o supplying a parameter.

   

 

   

After compile look at Notice List tab at bottom of screen for the Compiler output,

   

read the error, and double click it to highlight the line of offending code.

   

 

   

 

   

Regards, Dana.

View solution in original post

0 Likes
13 Replies