mayhem
Newbie level 4
hello
I've interfaced a 4x4 keypad to 8051 and its working properly and showing result on LCD. Actually my project is to transmit data through zigbee nodes which is serially connected to micro controller.
Now i want to connect 4 nodes and it should be like if i press '1' on keypad the message should be transferred to the first node connected to host and if i press '2' the message should be transferred to the second node and so on. the message is also entered through the same keypad.
I need help in modifying the c code for first entering the choice and then entering data through keypad. I've the written code for everything, i'll make a separate function of each of them and i want them to be executed on push of a button.
I've interfaced a 4x4 keypad to 8051 and its working properly and showing result on LCD. Actually my project is to transmit data through zigbee nodes which is serially connected to micro controller.
Now i want to connect 4 nodes and it should be like if i press '1' on keypad the message should be transferred to the first node connected to host and if i press '2' the message should be transferred to the second node and so on. the message is also entered through the same keypad.
I need help in modifying the c code for first entering the choice and then entering data through keypad. I've the written code for everything, i'll make a separate function of each of them and i want them to be executed on push of a button.