Use SW to determine which Arduino version I'm running.....
Posted: Sat Mar 12, 2016 7:34 pm
Is there any way to use ESP Arduino Software to detect what Arduino version the sketch
was compiled with?
was compiled with?
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
void setup()
{
Serial.begin(115200);
Serial.println();
Serial.print("The 'ARDUINO' constant contains: ");
Serial.println(ARDUINO);
if(ARDUINO == 10608)
{
Serial.println("You are running Arduino IDE 1.6.8");
}
}
void loop() {}
The 'ARDUINO' constant contains: 10608
You are running Arduino IDE 1.6.8