EB014

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
dirkvg@skynet.be
Flowcode V4 User
Posts: 12
Joined: Sat Nov 21, 2009 4:16 pm

EB014

Post by dirkvg@skynet.be »

I would connect an EB014 keypad to a self made print with a 16F628ΒµC. I need only the buttons 1,2,3,4,5,6 from the key pad. Are the following connections right?
SUBD pin1 connected with bit 0 from port B
SUBD pin2 connected with bit 1 from port B
SUBD pin3 connected with bit 2 from port B
SUBD pin5 connected with bit 4 from port B
SUBD pin6 connected with bit 5 from port B
SUBD pin9 connected with ground.

Is it also right that I can use then bit 3,6,7 of portB from the ΒµC for other things?

Thanks in advance
dirk

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: EB014

Post by Benj »

Hello Dirk

Yes that looks correct to me. If you are using Flowcode v4 then you can use the code customization feature to change the component code so that the other pins are left untouched. In v3 you will have to manually edit the keypad component C file to make these changes.

Post Reply