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-d
, -p
, or -i
arguments can be supplied to any command.binho info
This 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 dfu
This command can be used to automatically update device firmware or just enter Bootloader mode.binho gpio
This 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 dac
This command can be used to set the DAC output to a given voltage or raw 10bit value.binho adc
This command can be used to take readings from IO pins using the analog inputs (ADC).binho pwm
This command can be used to configure the IO pins to be used as PWM outputs.binho i2c
This command can be used to perform I2C Scans, Reads, and Writes.binho eeprom
This command can be used to read from and write to common I2C EEPROM devices.binho spi
This 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 1wire
This command can be used to communicate with 1Wire devices.binho daplink
Use this command to switch Nova into and out of DAPLink mode.binho flasher
While in DAPLink mode, this command can be used to program bin/hex files into microcontrollers.binho shell
This command can be used to open up a connection to the device and begin an interactive shell.binho custom
Adding 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.