/*------------------------------------------------------------------------------ * Author: Nelso G. Jost (nelsojost@gmail.com) * License: GPLv2 * Purpose: Root file for Arduino IDE projects. *----------------------------------------------------------------------------*/ #include #include "mysensors.h" #include "utils.h" String stream_line; void setup() { Serial.begin(9600); mysensors_setup(); } void loop() { if (Serial.available()) { stream_line = Serial.readString(); Serial.println(execute_command(stream_line)); } }