Download Arduino IDE from https://www.arduino.cc/en/Main/Software Download SmartArduino, import ZIP into Arduino IDE.
#include <SmartArduino.h>
SmartArduino smart;
void setup() {
Serial.begin(9600);
smart.init();
}
void loop() {
smart.read();
Serial.println(smart.pac);
delay(1000);
}
- first publication