Forum >Capacitive Touch Kit, AN3889 Capacitance Sensing setting
ArduinoGeneral

Capacitive Touch Kit, AN3889 Capacitance Sensing setting

userHead Leff 2016-02-18 00:43:16 3804 Views2 Replies

How to adjust the capacitance sensing? Well, these two charactors AFE1_CFG, AFE2_CFG are the main things effect the sensing.

mpwrite(AFE1_CFG, 0x3E); (from mpr121.cpp)
mpwrite(AFE2_CFG, 0x2A); (from mpr121.cpp)

 

 

2017-08-25 00:18:28 You can have a look of the touch kit library in the wiki page https://www.dfrobot.com/wiki/index.php/ ... U:DFR0129)
After you changing the mpwrite() function, you can use this function directly in your Arduino code
userHeadPic robert.chen
2017-08-23 11:24:00 HI there. Do you have any sample code, where I can see how you call the mpwrite? Do you call it in the arduino code? userHeadPic lasse