Configuration

Generated

from protobuf message Config.DeviceConfig

Hierarchy

  • Config_DeviceConfig

Properties

buttonGpio: number

For boards without a hard wired button, this is the pin number that will be used Boards that have more than one button can swap the function with this one. defaults to BUTTON_PIN if defined.

Generated

from protobuf field: uint32 button_gpio = 4;

buzzerGpio: number

For boards without a PWM buzzer, this is the pin number that will be used Defaults to PIN_BUZZER if defined.

Generated

from protobuf field: uint32 buzzer_gpio = 5;

debugLogEnabled: boolean

By default we turn off logging as soon as an API client connects (to keep shared serial link quiet). Set this to true to leave the debug log outputting even when API is active.

Generated

from protobuf field: bool debug_log_enabled = 3;

Sets the role of node

Generated

from protobuf field: Config.DeviceConfig.Role role = 1;

serialEnabled: boolean

Disabling this will disable the SerialConsole by not initilizing the StreamAPI

Generated

from protobuf field: bool serial_enabled = 2;

Generated using TypeDoc