Joystick Click example.
Description
This application configures and enables use of the joystick.
The demo application is composed of two sections :
Application Init
Initialization driver enables - device, sets default configuration and starts write log.
Application Task
(code snippet) This is a example which demonstrates the use of Joystick Click board. Joystick Click communicates with register via I2C by write and read from register, read joystick position and press button state. Results are being sent to the Usart Terminal where you can track their changes. All data logs on usb uart when the sensor is triggered.
- Author
- MikroE Team