mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-28 11:57:30 +00:00
The C++ bindings for the node serialport project. (Fork)
| serialport_native | ||
| .gitignore | ||
| Makefile | ||
| package.json | ||
| README.md | ||
| sampleport | ||
| serialport.js | ||
| test_native.js | ||
| test_read.js | ||
| test_write.js | ||
Alpha Code - changes more often than node.js itself.
If you want to try, use it like this:
var SerialPort = require("./serialport") var sp = new SerialPort("/dev/ttyUSB0") sp.write("OMG USB");
// Reading is not perfect yet sp.on('data', function(data) { sys.puts("data"); });
sp.close();