How to replicate pyserial sending RGB values to Arduino in jUART?
问题 I have been using pyserial in a locally running Python application to send RGB values to an Arduino with: import serial import struct ser = serial.Serial('/dev/ttyACM0', 9600) ser.write(struct.pack('>3B', red_value, green_value, blue_value)) # where the rgb values are ints like 77,75, 0 I'd like to now achieve this functionality from a non-local website. jUART seems to be designed for this purpose, ie a: Cross platform browser plugin for serial port communication from JavaScript It requires