3 years ago.

Why is my #define not accepted

/media/uploads/henkvbeek/defineerror.jpg

2 Answers

3 years 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..

Accepted Answer
3 years ago.

Hello Henk,
Try to delete the semicolon at the end of your define line.

#define _CmdData 0x40