We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, using C inside the Keil 7.0 Tools i have a strange behaviour. some defines / includes ... #include "mycpu.h" .. #define LCD_Port P2 #define RS P2_1 #define LOW = 0; ... void function1(unsigned char temp) { ... LCD_Port = temp; RS = LOW; // this two lines are not executed, using the debugger, the debugger jumps over these lines ... } void function2(unsigned char temp) { ... LCD_Port = temp; // this line is executed ... } Why? Thank you in advance Axel
Hello, sorry, in the real program there is no ; and = at the specific positions in the define area, just a writing fault of me in this board ;-) Axel