Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 9 months ago.
Why is my #define not accepted
2 Answers
7 years, 9 months ago.
You have a '';'' at the end of the #define that will be inserted in your code:
Send_Byte(_CmdData);
which becomes:
Send_Byte(0x40;);
The compiler doesnt like that..
7 years, 9 months ago.
Hello Henk,
Try to delete the semicolon at the end of your define line.
#define _CmdData 0x40