System Calls

version()

System.version, version

Since 0.4.7:

Determine the version of Device OS available. Returns a version string of the format:

MAJOR.MINOR.PATCH

Such as "0.4.7".

For example


void setup()
{
   Log.info("System version: %s", System.version().c_str());
   // prints
   // System version: 0.4.7
}