Pages: 1 [2]   Go Down
Author Topic: Help Understanding #if directive  (Read 3774 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 15
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: March 25, 2012, 08:41:16 am by editor3000 » Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 147
Posts: 6038
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: 1 [2]   Go Up
Jump to: