farmbot v6.0.1-alpha Farmbot.Firmware.Gcode.Param View Source
Firmware paramaters.
Link to this section Summary
Functions
Parses farmbot_arduino_firmware params. If we want the name of param “0”\n Example:
iex> Gcode.parse_param("0")
:param_version
Link to this section Types
Human readable name of a paramater.
Link to this section Functions
Parses farmbot_arduino_firmware params. If we want the name of param “0”\n Example:
iex> Gcode.parse_param("0")
:param_version
Example:
iex> Gcode.parse_param(0)
:param_version
If we want the integer of param :param_version\n Example:
iex> Gcode.parse_param(:param_version)
0
Example:
iex> Gcode.parse_param("param_version")
0