用于linux的AWS iot按钮亚马逊。谁知道? [英] AWS iot button amazon for linux. Who knows?

查看:101
本文介绍了用于linux的AWS iot按钮亚马逊。谁知道?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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). 





我的尝试:





What I have tried:

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.

推荐答案

P100> / dev / ttyACM0 - (速度 -
P100" > /dev/ttyACM0 -(speed — the three numbers after the


P)之后的三个数字; 2次冲压时
:我们在0上移除速度(即我们关闭风扇):echo
P); on 2 pressings: we remove speed on 0 (that is we turn off the fan): echo "


P000> / dev / ttyACM0 - (速度是
P000" > /dev/ttyACM0 -(speed is three digits after

之后的三位数

这篇关于用于linux的AWS iot按钮亚马逊。谁知道?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆