binho = binhoHostAdapter(index=0)
binho = binhoHostAdapter(port=targetComport)
binho = binhoHostAdapter(deviceID = targetDeviceID)
-h, --help: prints the list of arguments
-v, --verbose: display more details on the console during execution
-d, --device <deviceID>: connect to the device with the provided deviceID number
-p, --port <commport>: connect to the device on the provided COM port
-i, --index <i>: connect to the device at index i
-iarguments can be supplied to any command.
binho infoThis command can be used to find all Novas connected to the PC and get their associated information such as serial number, COM port, and firmware version. It will also indicate if a device is in DAPLink or Bootloader mode as well.
binho dfuThis command can be used to automatically update device firmware or just enter Bootloader mode.
binho gpioThis command can be used to take digital readings or drive IO pins as digital outputs. Note that the device does not retain it's state between consecutive runs of this command. As such, a subsequent run will overwrite any previous pin configurations.
binho dacThis command can be used to set the DAC output to a given voltage or raw 10bit value.
binho adcThis command can be used to take readings from IO pins using the analog inputs (ADC).
binho pwmThis command can be used to configure the IO pins to be used as PWM outputs.
binho i2cThis command can be used to perform I2C Scans, Reads, and Writes.
binho eepromThis command can be used to read from and write to common I2C EEPROM devices.
binho spiThis command can be used to perform SPI transfers.
binho spiflash[Coming Soon!] This command can be used to read from and write to common SPI Flash devices.
binho 1wireThis command can be used to communicate with 1Wire devices.
binho daplinkUse this command to switch Nova into and out of DAPLink mode.
binho flasherWhile in DAPLink mode, this command can be used to program bin/hex files into microcontrollers.
binho shellThis command can be used to open up a connection to the device and begin an interactive shell.
binho customAdding custom commands is very easy! This command is just meant as a template which can be used to create your own commands to extend the command line functionality for any specific tasks. You can see the implementation here.