D
D
DeathRay_forum2018-05-24 16:52:53
linux
DeathRay_forum, 2018-05-24 16:52:53

AWS ioT Button Amazon on Linux. Are there knowledgeable people?

Good day! I ask you to help or suggest experienced people who had experience in this area or set up a button.
Task: Controlling a fan that is connected to a computer (Linux OS on Virtual Box) via USB.
For 1 click: increase the speed (that is, the fan starts moving), command for the terminal: echo "$P100" > /dev/ttyACM0 -(speed is three digits after $P);
for 2 clicks: we remove the speed by 0 (that is, turn off the fan): echo "$P000" > /dev/ttyACM0 -(speed is three digits after $P).
The button is already connected to the computer via WIFI. You need code to paste in order to work and a good explanation in general. Maybe there is an article/video/topic on our request.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question