spi:
  - id: spi_adc128s102
    clk_pin: 2
    mosi_pin: 3
    miso_pin: 4

adc128s102:
  cs_pin: 5
  id: adc128s102_adc

sensor:
  - platform: adc128s102
    id: adc128s102_channel_0
    channel: 0