Go Down

Topic: Help Understanding #if directive (Read 4451 times) previous topic - next topic

editor3000

#15
Mar 25, 2012, 03:23 pm Last Edit: Mar 25, 2012, 03:41 pm by editor3000 Reason: 1
Well, OK then.
My bad.
I thought I was teaching, but it was you who taught me.
That's why I'm still a noob!:P

SurferTim

Quote
Yes, well I don't think the IDE honours the #if directive.

Yes, the IDE does preprocessor stuff. I used it in my FTP code.
http://arduino.cc/forum/index.php/topic,93502.msg707104.html#msg707104

Actually, I used #define and #ifdef, and if it preprocesses those ok, it should do an #if with no problem.

Go Up