Run python code on a smartphone to see LED turn on.
Follow Setup
instructions then run the following on python ssh terminal to control LED.
tn.write('1'.encode('ascii')) # on
tn.write('0'.encode('ascii')) # off
All code is available on github
Upload sketch.ino to your Ardunio board using the Upload button in the Arduino IDE.
Press play in Server Bridge X.
script.sh
.On the PC command line, access the smartphone terminal using SSH.
send.py
commands. LED should turn on/off based on the command sent (1 or 0).