2017-08-21 08:28 PM
I have a problem with touch sensing on STM8L151K4, It is impossibe to increase number of touch key to 12.
I use sample project in STM8L_Touch_Lib and re-config the channel in 'tsl_user.h'. It work if i configure 6 keys but doesn't work if i configure 7,8,9,..keys.
Could anyone help me?
#stm8l-touch2017-08-21 09:57 PM
Hello,
have you checked this
and the provided ?It has 10 key + 1 slider + 1 wheel (=16 channels).
It may help you figure out what is wrong in you program.
2017-08-22 12:22 AM
Hi Max,
I've checked.
If I configure to run with only 1 key, It work for all my touch key on my own board.
But when I try to group 6 keys into BANK0, and the others to BANK1, It do not work.
All key State is TSL_STATEMASK_OFF.
Here my code:
https://drive.google.com/drive/folders/0B9dxb7x3wOyINzNqU1FraVRMRlk?usp=sharing
Would you show me what is wrong?