• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • Lobe
  • Lobe Struct

    A lobe that a preset lists directly, by type and name. More...

    Header: #include <Lobe>

    Detailed Description

    Lobe is a value type. A Preset keeps a vector of them in its lobes field, and toJson() and fromJson() carry them through the lobes array of the preset file. The firmware editor's Lobes tab adds, retypes and removes them, and the built-in Blink preset holds one blink_led lobe.

    A stanza names its own lobe type. When a preset has no stanza, Preset::primaryLobeType() falls back to the type of the first entry here.

    See also Preset and FirmwareEditorScreen.