Simple program to send a high or low to losant.
-
Hello all,
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.
Thanks,
Smitty
-
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.
"https://www.losant.com/blog/getting-started-with-omega2-and-losant"
Smitty
-
Here is another tutorial you an follow
https://onion.io/2bt-single-command-losantomega/