Arduino Library
New changes on Arduino Client Library 2.3.0:
- Add support for LinkItONE with GPRS. It includes an example for connecting to thinger.io by using GPRS.
- Improved syntactic sugar for input value. Now it is not required to pass a callback if it is not necessary. Example:
bool enable;
double threshold=0;
void setup(){
thing["config"] << inputValue(enable);
thing["threshold"] << inputValue(threshold, {
Serial.print("Threshold changed:" );
Serial.println(threshold);
});
}