Good day! Please help or suggest experienced people who have experience in this area or set up a button.
Task: control the fan that is connected to the computer (Linux on the Virtual Box)through the USB.
1 press: to increase the speed (i.e. the fan starts running), the command for this terminal: echo "$P100" > /dev/ttyACM0 -(speed — the three numbers after the $P);
on 2 pressings: we remove speed on 0 (that is we 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 a code that you need to insert to work and a competent explanation in General. Can be there is article/video/theme on our request.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)