packages:
  i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml

display:
  - platform: ssd1306_i2c
    i2c_id: i2c_bus
    id: axs15231_ssd1306_display
    model: SSD1306_128X64
    reset_pin: 13
    pages:
      - id: page1
        lambda: |-
          it.rectangle(0, 0, it.get_width(), it.get_height());

touchscreen:
  - platform: axs15231
    i2c_id: i2c_bus
    display: axs15231_ssd1306_display
    interrupt_pin: 12
