
spi:
  - id: spi_bus
    clk_pin: 39      # LCD_SCLK
    mosi_pin: 38     # LCD_MOSI
    miso_pin: 40     # (MISO finns men används ej av LCD)

  - id: spi_bus_rc522
    clk_pin: 9
    mosi_pin: 14
    miso_pin: 13

i2c:
  - sda: 48          # TP_SDA
    scl: 47          # TP_SCL
    id: i2c_bus
    scan: true
    frequency: 400kHz
  

time:
  - platform: sntp
    id: esptime
    timezone: "Europe/Stockholm"


light:
  - platform: monochromatic
    name: "LCD Backlight"
    id: backlight
    default_transition_length: 0s
    output: lcd_bl
    restore_mode: ALWAYS_ON
