I am using CY8C4147AZS-S475 MCU and I want to get haptic when I touch my touchpad. I think I can be done with I2C. How can I write the necessary code in application layer?
Is there anyone who can help me?
Thank you in advance!
PSoC 4 MCU
Is it possible to write like the following code? :
/* Place your application code here. */
Xcord = CapSense_GetXYCoordinates(CapSense_TOUCHPAD_POS_X_VALUE);
Ycord = CapSense_GetXYCoordinates(CapSense_TOUCHPAD_POS_Y_VALUE);