I am wondering if there is a constant of which board your sketch is currently running on ... [and/or a variable for] amount of eeprom [remaining]
P.S. This post has been unanswered for 159 days! Why do some posts get ignored?
I'm not sure why age of the post matters, I don't go perusing for 6 month old threads to answer...
Quote from: my49plymouthI am wondering if there is a constant of which board your sketch is currently running on ... [and/or a variable for] amount of eeprom [remaining]I would like to know that too!
But surely the #defines are resolved at compile time
and don't tell you what your are running on? It has to be predetermined.
Also, the boards firmware number might be nice to know during execution, allowing people to write more compatible code across the different boards.
#if ARDUINO < 100// pre 1.0 code here#else//post 1.0 code here#endif
Please enter a valid email to subscribe
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!
via Egeo 16