help coding 16 capsense buttons

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello all,

   

I am trying to configure 16 Capsense buttons with PSoC 1 device CY8C20534. I have coded for 1 byte i.e. 8 buttons & now I wish to go for a WORD count.

   

So please tell me what changes do I need to do while defining the "I2C register structure" in Main.c & configuring the "buttonstate" variable for a WORD of Buttons in display.c?

   

I tried to do it but getting lot of errors.

   

Please give me any sample code for the Buttons count of a WORD. Also suggest if there are any on cypress's site.

   

Awaits for the positive responce.

   

Thanks & Regards-

   

Amit

0 Likes
11 Replies