你好! 我刚用html和javascript创建了一个网页。页面以带有各种按钮的控制面板图像为中心。每个按钮旁边都有2个矩形,当按下按钮时,正方形从红色变为绿色(开启时)。我的问题是:你能通过我的网页控制一台串口机吗? (如果我按下网站上的按钮,它就会关闭,同时也会在串口机上关闭它吗? 我尝试了什么: 什么都没有,因为我现在不知道在哪里以及如何开始所以请帮助我
Hello! I just created a web page using html and javascript. The page centered on an image of a control panel with various buttons. Next to each button there are 2 rectangles the squares when crushing the button pass from red to green (on off). My question is this: can you control a serial machine through my web page? (If I press on the button on the site it is turned off and also on the serial machine it goes from on to off? What I have tried: nothing till now cause i dont now where and how to start so please help me
推荐答案是,如果串行机器连接到服务器。例如,通过 exec [ ^ ]来电, PHP 代码可以执行程序以启动/停止串行机器。 Yes, if the serial machine is connected to the server. For instance, via the exec[^] call, PHP code can execute a program in order to start/stop the serial machine.
更多推荐
通过我自己的网页通过rs232进行串口设备控制
发布评论