跳转到内容

AXS15231 触摸屏控制器

axs15231 触摸屏平台允许使用基于 AXS15231 芯片的触摸屏控制器与 ESPHome。 配置中需要设置 I²C 总线才能使此触摸屏正常工作。

# Example configuration entry
touchscreen:
platform: axs15231
id: my_touchscreen
  • id (可选, ID): 手动设置此触摸屏的 ID。

  • interrupt_pin (可选, Pin Schema): 触摸检测引脚。

  • reset_pin (可选, Pin Schema): 复位引脚。

  • 还包括 Touchscreen 的所有其他选项。