Made the example compatible with Arduino IDE
Updated documentation