Platform Define for library coders
Posted: Tue Apr 28, 2015 8:01 pm
I want to create a library that will work across platforms, but will have nuances per platform. This is common in many existing libraries.
__AVR__
__arm__
__MK20DX128__// Teensy 3.0
__MK20DX256__ // Teensy 3.1
But what is the define I should be using for esp8266?
__AVR__
__arm__
__MK20DX128__// Teensy 3.0
__MK20DX256__ // Teensy 3.1
But what is the define I should be using for esp8266?