Top Level Namespace

Defined Under Namespace

Modules: Denko, DenkoCLI

Constant Summary collapse

I2C_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [:BusCommon,  "bus_common"],
  [:Bus,        "bus"],
  [:BitBang,    "bit_bang"],
  [:Peripheral, "peripheral"],
]
LED_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [nil,           "base"],
  [:RGB,          "rgb"],
  [:SevenSegment, "seven_segment"],
  [:WS2812,       "ws2812"],
  [:APA102,       "apa102"],
]
RTC_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [:DS3231, "ds3231"],
]
SPI_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [:BusCommon,      "bus_common"],
  [:Bus,            "bus"],
  [:BitBang,        "bit_bang"],
  [:ChipSelect,     "peripheral"],
  [:Peripheral,     "peripheral"],
  [:BaseRegister,   "base_register"],
  [:InputRegister,  "input_register"],
  [:OutputRegister, "output_register"],
]
UART_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [nil,        "common"],
  [:Hardware,  "hardware"],
  [:BitBang,   "bit_bang"],
]
MOTOR_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [:Servo,  "servo"],
  [:A3967,  "a3967"],
  [:L298,   "l298"],
]
EEPROM_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [:Board,  "board"],
  [:AT24C,  "at24c"],
]
SENSOR_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [nil,          "helper"],
  [:DHT,         "dht"],
  [:DS18B20,     "ds18b20"],
  [:BMP180,      "bmp180"],
  [:BME280,      "bme280"],
  [:BMP280,      "bme280"],
  [:HDC1080,     "hdc1080"],
  [:HTU21D,      "htu21d"],
  [:HTU31D,      "htu31d"],
  [:AHT1X,       "aht"],
  [:AHT2X,       "aht"],
  [:AHT3X,       "aht"],
  [:SHT3X,       "sht3x"],
  [:SHT4X,       "sht4x"],
  [:QMP6988,     "qmp6988"],
  [:RCWL9620,    "rcwl9620"],
  [:HCSR04,      "hcsr04"],
  [:JSNSR04T,    "jsnsr04t"],
  [:GenericPIR,  "generic_pir"],
  [:VL53L0X,     "vl53l0x"],
]
DISPLAY_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  # Character Displays
  [:HD44780, "hd44780"],

  # Pixel display mixins and helpers
  [:PixelCommon,      "pixel_common"],
  [:SPICommon,        "spi_common"],
  [:SPIEPaperCommon,  "spi_epaper_common"],
  [:Canvas,           "canvas"],

  # OLEDs
  [:MonoOLED, "mono_oled"],
  [:SSD1306,  "ssd1306"],
  [:SH1106,   "sh1106"],
  [:SH1107,   "sh1107"],

  # LCDs
  [:PCD8544,  "pcd8544"],
  [:ST7302,   "st7302"],
  [:ST7565,   "st7565"],

  # E-paper
  [:IL0373,   "il0373"],
  [:SSD168X,  "ssd168x"],
  [:SSD1680,  "ssd1680"],
  [:SSD1681,  "ssd1681"],
]
HELPER_FILES =
[
  [nil, "engine_check"],
  [nil, "mutex_stub"],
]
ONE_WIRE_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [:Constants,      "constants"],
  [:Helper,         "helper"],
  [:BusEnumerator,  "bus_enumerator"],
  [:Bus,            "bus"],
  [:Peripheral,     "peripheral"],
]
PULSE_IO_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  # Pin and component setup stuff
  [:PWMOutput, "pwm_output"],
  [:Buzzer,    "buzzer"],
  [:IROutput,  "ir_output"],
]
ANALOG_IO_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [:InputHelper,    "input_helper"],
  [:Input,          "input"],
  [:Output,         "output"],
  [:Potentiometer,  "potentiometer"],
  [:Joystick,       "joystick"],
  [:ADS111X,        "ads111x"],
  [:ADS1100,        "ads1100"],
  [:ADS1115,        "ads1115"],
  [:ADS1118,        "ads1118"],
]
BEHAVIORS_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  # Pin and component setup stuff
  [:Lifecycle,  "lifecycle"],
  [:State,      "state"],
  [:Component,  "component"],
  [:SinglePin,  "single_pin"],
  [:InputPin,   "input_pin"],
  [:OutputPin,  "output_pin"],
  [:MultiPin,   "multi_pin"],

  # Subcomponent stuff
  [:Subcomponents,          "subcomponents"],
  [:BusController,          "bus_controller"],
  [:BusControllerAddressed, "bus_controller_addressed"],
  [:BusPeripheral,          "bus_peripheral"],
  [:BusPeripheralAddressed, "bus_peripheral_addressed"],
  [:BoardProxy,             "board_proxy"],

  # Async stuff
  [:Threaded,   "threaded"],
  [:Callbacks,  "callbacks"],
  [:Reader,     "reader"],
  [:Poller,     "poller"],
  [:Listener,   "listener"],
]
DIGITAL_IO_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [:Input,          "input"],
  [:Output,         "output"],
  [:Button,         "button"],
  [:Relay,          "relay"],
  [:RotaryEncoder,  "rotary_encoder"],
  [:PCF8574,        "pcf8574"],
]
DIGITAL_IO_EARLY_FILES =

On mruby, define this early since bit-bang I2C, SPI and 1-Wire depend on it.

[
  [:CBitBang, "c_bit_bang"],
]
FONT_FILES =

Represent files to be autoloaded in CRuby as an Array. This allows Mruby::Build to parse and preload them instead.

[
  [:BMP_5X7,  "bmp_5x7"],
  [:BMP_6X8,  "bmp_6x8"],
  [:BMP_8X16, "bmp_8x16"],
]