Keypad Flocode
Posted: Mon Nov 16, 2009 6:17 pm
hello Benj
I am Manuel, I searched the forums for keypad queries and read a couple of them, however when I downloaded some of the attached files, I was not able to open them the Flowcode which I am using is V1.0
Currently I am working on a project which involves a PIC16F877A, 4x4 keypad, an LCD display and 3 stepper motors (SMA, SMB and SMC). A 3 digit number is to be inputed from the keypad (e.g 145), it will be displayed on the LCD screen and then every stepper motor turns according to each digit. (i.e. SMA turns 1 cycle, SMB turns 4 cycles and SMC turns 5 cycles).
My first problem is of how to create a Flowcode to receive inputs from the keypad.
The one I tried didn't worked. I made 8 inputs (one for every bit B0 to B7) and then made a calculations, saying NUM1 = B0 + B4, then a loop and a decision in it saying if Yes=NUM1 display on LCD.
Thank you for your help
Regards
Manuel
I am Manuel, I searched the forums for keypad queries and read a couple of them, however when I downloaded some of the attached files, I was not able to open them the Flowcode which I am using is V1.0
Currently I am working on a project which involves a PIC16F877A, 4x4 keypad, an LCD display and 3 stepper motors (SMA, SMB and SMC). A 3 digit number is to be inputed from the keypad (e.g 145), it will be displayed on the LCD screen and then every stepper motor turns according to each digit. (i.e. SMA turns 1 cycle, SMB turns 4 cycles and SMC turns 5 cycles).
My first problem is of how to create a Flowcode to receive inputs from the keypad.
The one I tried didn't worked. I made 8 inputs (one for every bit B0 to B7) and then made a calculations, saying NUM1 = B0 + B4, then a loop and a decision in it saying if Yes=NUM1 display on LCD.
Thank you for your help
Regards
Manuel