Go Down

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

#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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy