fbiego / CST816S

An Arduino library for the Hynitron CST816S capacitive touch screen IC
MIT License
51 stars 24 forks source link
arduino-library cst816s hynitron library touch touchscreen

CST816S

An Arduino library for the CST816S capacitive touch screen IC

arduino-library-badge

Auto Sleep Control

Auto Sleep is referred to as Standby Mode in this Waveshare document. Disabling of auto sleep or auto standby will keep the touch display in Dynamic mode. This will improve responsiveness, at the cost of about ~1.6mA.

By default, auto sleep is enabled with a timeout of 2 seconds. The following functions allow you to manage auto sleep behavior:

User-Provided Interrupt

The CST816S library allows you to attach a custom interrupt function to handle touch events according to your application's needs. By providing a user-defined interrupt, you can trigger specific actions upon touch events, such as waking the device from a low-power state, checking gestures, or executing custom logic without constantly polling the device.

Feature Highlights: