CUSBKBE - CuBloc keypad encoder for matrix keypads

CUSBKBE - CuBloc keypad encoder for matrix keypads
Zoom  Zoom
Our Price:  £19.00(£22.80 Inc. VAT)

Availability:  

Special order, 7-21 days  

Special order, 7-21 days

A true Plug-N-Play Keypad Controller that you can simply connect to any of our CuBASE, CuSB, or Add-On Board. Compatible with standard 3 x 4, 4 x 4 and 5 x 4 matrix keypads.

Example Code

Keypad Controller Example Program with CuBase32M and 4x4 Keypad!

 Const Device = CB280

 Set Pad 0,1,4
 
 
Dim X As Byte

 Const Byte KEY_TABLE = (0,0,1,2,3,4,0,0,0,0,5,_
       6,7,8,0,0,0,0,9,10,11,_
       12,0,0,0,0,13,14,15,16)
      
      
 
On Pad Gosub PAD_RTN     

 Do   'Infinite Loop
 Loop
 

PAD_RTN:
      X = Getpad(1)
      X = KEY_TABLE(X)
     
Debug "Pressed: ",Dec X,Cr
Return

 


Downloads

User Manual >>


Customers who bought this item also bought:


Continue ShoppingTell a Friend