farmbot v6.4.1 Farmbot.Firmware.Utils View Source
Helpful utilities for working with Firmware data.
Link to this section Summary
Functions
Changes :digital
=> 0, and :analog
=> 1
Changes set_pin_mode
arg to an integer for the Firmware
Format a float to a binary with two leading decimals
changes a number to a boolean. 1 => true, 0 => false
replace the firmware handler at runtime
Link to this section Functions
Changes :digital
=> 0, and :analog
=> 1
Changes set_pin_mode
arg to an integer for the Firmware.
Format a float to a binary with two leading decimals.
changes a number to a boolean. 1 => true, 0 => false
replace the firmware handler at runtime.