node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป



Bitlash serial program loader for Arduino / usbserial.

Transmits a file (which can be local or the contents of a given web URL) you specify, one line at at time, to Bitlash over the usb serial port.

The file can be function definitions or live commands to execute. Same thing, right?

At the end of the file it drops you into interactive mode so you can talk to the Bitlash via the terminal.

If you specify the -r option the file will be sent over and over again at the specified interval. In this case you don't get a terminal.



> sudo npm install bloader -g


> bloader --help
Usage: node ./bloader [flags]

	-p, --port    virtual serial port name (auto-detects FTDI ports on Mac/Linux)
	-b, --baud    virtual serial port baud rate                                  
	-f, --file    file to send                                                   
	-r, --repeat  interval to re-send file (seconds)    

To exit, type Control+].


Go straight to interactive mode:

> bloader

Load a file, drop into interactive mode:

> bloader -f testfile

Load a file over the web

> bloader -f

Load the Bitlash elevator example direct from github:

> bloader -f

Send a file every 10 seconds

> bloader -f lcdupdate -r 10