Simple program to send a high or low to losant.
Trying to create a simple program to send the state of a switch to losant. I have been studying the "Smart
Plant" project but was wondering if there was anything out there that was a bit easier to understand. Maybe even an existing program?
I have the Arduino dock2 and have made the Arduino program for the switch, I just need help with the java on the omega2 to read the Arduino and send it to losant.
I found this and it works perfect. I just need to change the code a little so it dosnt send more than one text while the button is depressed.
Here is another tutorial you an follow