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
EB014
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel