nenayd
New Member
anyone have a tutorial in manipulating i/o ports of pic16f84.
such as:
1. PortA are set as input (RA0-RA3 are grouped to specific routine while RA4 do a special routine when pressed)
2. PortB : RB1-RB4 are output of LED's RB5 is TXpin RB6 is RXpin
task: as default, if one of the RA0-RA3 are pressed a random # is sent to the LED to display in binary form, if RA4 is pressed, RA0-RA3 will shift to another task instead of sending output to LED it will send instead in TXpin.
such as:
1. PortA are set as input (RA0-RA3 are grouped to specific routine while RA4 do a special routine when pressed)
2. PortB : RB1-RB4 are output of LED's RB5 is TXpin RB6 is RXpin
task: as default, if one of the RA0-RA3 are pressed a random # is sent to the LED to display in binary form, if RA4 is pressed, RA0-RA3 will shift to another task instead of sending output to LED it will send instead in TXpin.