Hello Erich,
I will appreciate your help and advice.
I succeed to build KDS TSS_Library.elf using your attached project. Then, I append TSS1_Configure (), TSS_Task() and PWM1_SetRatio16() functions to this project listed my first question.
Unfortunately, this build project could not show the touch sensor feature by changing LED brightness. This is as same as CodoWarrior approch2. TSS1_fCallBack0() does not occur. This is clear that my program have bug(s) and TSS library have NOT trouble.
My objective approch1 reached same level at approch2 by your help. So, I would like to debug by myself to achieve my objective. Please give me some time for this.
After debugging I will attach success project. If I failed, I might ask your help and advice again.
Again, thank you very much for your help and your valuable time.
Best Regards
Tadahiro Takase