Notifications
Clear all

seeeduino xiao

17 Posts
7 Users
5 Likes
2,387 Views
(@alexieee)
Member
Joined: 3 years ago
Posts: 4
 

@will First of all I want to say that I’m using the same code that appears previously on this thread. Second, I am just trying to check the code for errors and it is not passing. I get the following errors:

’ShowSerial’ was not declared in this scope.

’COMSerial’ was not declared in this scope.

’GBT’ was not declared in this scope.


   
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2527
 

@alexieee 

Several versions or variations are mentioned in the thread. The errors you mention can come from several possible causes. Without seeing the code (and your system), the most frequent (at least for me) are ...

1) there is a typo and the names don't match

2) there is an extraneous bracket, quote or other special character somewhere in the code above where the error occurs and it's having the effect of suggesting to the compiler that the code has ended above and so the #define is no longer "live".

3) if there is an unsatisfied condition involved with the #define, then the define will not be executed by the precompiler.

 

Anything seems possible when you don't know what you're talking about.


   
ReplyQuote
Page 2 / 2