screen_data_table.lua 668 B

1234567891011121314151617181920212223242526
  1. -- screen_data_table.lua )
  2. -- 此文件只包含屏幕相关配置数据
  3. local screen_data_table = {
  4. lcdargs = {
  5. LCD_MODEL = "AirLCD_1001",
  6. pin_vcc = 24,
  7. pin_rst = 36,
  8. pin_pwr = 25,
  9. pin_pwm = 2,
  10. port = lcd.HWID_0,
  11. direction = 0,
  12. w = 320,
  13. h = 480,
  14. xoffset = 0,
  15. yoffset = 0,
  16. },
  17. touch = {
  18. TP_MODEL = "Air780EHM_LCD_4", -- 触摸芯片型号
  19. i2c_id = 1, -- I2C总线ID
  20. pin_rst = 255, -- 触摸芯片复位引脚(非必须)
  21. pin_int = 22 -- 触摸芯片中断引脚
  22. },
  23. }
  24. return screen_data_table