Is it possible to communicate over a machine\'s serial port through JavaScript?
I have to write a short program that sends data to a microcontroller over the serial
No.
I'd recommend wx-widgets for the task.