|
Re: Control Robot through HTML/JavaScript Page
You could set up an Apache server with PHP that had a serial connection to the robot. I would make it so that there was a python script (just because I like python and it's I/O) constantly checking a file and outputting it's contents to serial, while you have a PHP file that javascript could "call", that would write what the javascript told it to, to the file that python was checking. You could probably do it all of over PHP (or all python), but I am not sure how. Smart dashboard is probably easier.
|