Help / examples needed.
Posted: Thu Oct 22, 2009 11:21 pm
Hi
IΒ΄m newbie, and iΒ΄m trying to make a program with 4 switches and a LCD, but im need some help.
The program should works like this:
When one of the 4 switches a are pressed, there should be a message on the display, that mentioned which of the switches were pressed, and and output pin on a port should go high, until another switch are pressed.
When another switch are pressed, another output pin on the port should be activated, and the display should now indicate which switch were pressed.
I am trying to make a circuit, where i can switch between 4 outputs, by pressing the accoiated switch, and the display should indicate - which output are activated.
IΒ΄ll hope you understand what i mean.
I can not find any example that can help me to make this program.
IΒ΄m using Flowcode 3 pro (purchased from ELEKTOR) and a 16F877A.
Can anyone help me with a example ?.
IΒ΄m newbie, and iΒ΄m trying to make a program with 4 switches and a LCD, but im need some help.
The program should works like this:
When one of the 4 switches a are pressed, there should be a message on the display, that mentioned which of the switches were pressed, and and output pin on a port should go high, until another switch are pressed.
When another switch are pressed, another output pin on the port should be activated, and the display should now indicate which switch were pressed.
I am trying to make a circuit, where i can switch between 4 outputs, by pressing the accoiated switch, and the display should indicate - which output are activated.
IΒ΄ll hope you understand what i mean.
I can not find any example that can help me to make this program.
IΒ΄m using Flowcode 3 pro (purchased from ELEKTOR) and a 16F877A.
Can anyone help me with a example ?.