How can i use defined(ARDUINO_T-BEAM) when the '-' character is not accepted by compiler? #10919
serialrf433
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. The file boards.txt have many different boards defined. Some of them have a name with a '-' inside like the t-beam. When i write software and want to check the board, i would like to use for example the defined(ARDUINO_T-BEAM). But that is not possible. The compiler does not accept '-' in defined().
Thats how the compiler error looks like:
Could someone tell me how this can be used in such a use case? I searched for some time but was not able to find an answer.
Beta Was this translation helpful? Give feedback.
All reactions