Page 1 of 1

EB014

Posted: Wed Feb 24, 2010 9:22 am
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

Re: EB014

Posted: Wed Feb 24, 2010 10:51 am
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.