NS2009 Touch Screen Controller
The NS2009 touchscreen platform allows using the touch screen controllers based on the NS2009 chip with ESPHome.
The I²C is required to be set up in your configuration for this touchscreen to work.
This controller is used in the Olimex MOD-LCD2.8RTP.

# Example configuration entry
touchscreen:
id: myTouchscreen
platform: ns2009
calibration:
x_min: 400
x_max: 3700
y_min: 300
y_max: 3700Configuration variables
id (Optional, ID): Manually set the ID of this touchscreen.
threshold (Optional, int): The pressure it takes for a touch to register. Range:
0-255, defaults to40.address (Optional, int): The I²C address of this touchscreen, defaults to
0x48. If it is left as default but a connection can’t be established,0x49is also tried.All other options from Touchscreen.