views:

15

answers:

0

So I've never used javascript before. I was sent this code that interfaces with a tty device. I need to port this code to python but there's not a single comment in the entire thing. Is this an internal javascript class or whatever javascript uses?

var IEC = new IECPort('/dev/ttyS2');