ESPHome GPIO - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25) +--- Thread: ESPHome GPIO (/showthread.php?tid=2387) |
ESPHome GPIO - lautarosrur - 11-04-2022 How can I reference the GPIO and analog pins in ESPHome? Can you provide some example? Thanks. RE: ESPHome GPIO - admin - 11-05-2022 sure, all our boards support ESPHome. Here is demo config: # Example configuration entry sensor: - platform: adc pin: 36 name: "analog-1" update_interval: 10s attenuation: 11db - platform: adc pin: 34 name: "analog-2" update_interval: 10s attenuation: 11db - platform: adc pin: 35 name: "analog-3" update_interval: 10s attenuation: 11db - platform: adc pin: 39 name: "analog-4" update_interval: 10s attenuation: 11db RE: ESPHome GPIO - lautarosrur - 11-05-2022 Thank you admin! The board also has 3 GPIO pins, what number are they? Can I use any of them for PWM output? RE: ESPHome GPIO - admin - 11-05-2022 here is all GPIO define: https://www.kincony.com/forum/showthread.php?tid=1666 sorry, PWM already have used by Ethernet pins. |