matrix keyboard Psoc5.

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

cross mob
Anonymous
Not applicable

 Hello, I need to manage register for psoc 5. 

   
    Any help or example to mask ports and read the ports . PRT1DR & 0x01.   
   
        
   
    Thank you.   
0 Likes
4 Replies
Anonymous
Not applicable
0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

When pins are grouped on the same port named "Column" you can read all the pins with

   

Pattern = Column_Read();

   

 

   

So easy...

   

 

   

Bob

   

 

   

PS:

   

By the way, there is a component for matrix keyboard here in the forum (made by me). If you're interested search for it...

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

This might help -

   

 

   

    

   

          http://www.element14.com/community/thread/25635/l/psoc-4-pioneer-kit-community-project054-custom-com...

   

 

   

Regards, Dana.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Here is the component together with some How2s.

   

www.cypress.com/

   

 

   

Bob

0 Likes