hey everyone
my knowledge on MPLAB is pretty rudimentary but i do know how to setup projects.
My problem is however that i have no idea what i need to write to solve the following problem!!
Use port B of the PIC16F84A as an output port, write a simple program to control 8
LEDS to generate the binary-equivalent of the following decimal numbers:
119, 76, 14, 55 & 99
Use a switch as an input to read the status of bit 0 of port A, write a program to switch
all odd LEDS on (starting with most right LED as number 0) through port B upon
detecting the switch closure.
Using two switches and 7 LED write a program such that when switch 1 is pressed on 1
my knowledge on MPLAB is pretty rudimentary but i do know how to setup projects.
My problem is however that i have no idea what i need to write to solve the following problem!!
Use port B of the PIC16F84A as an output port, write a simple program to control 8
LEDS to generate the binary-equivalent of the following decimal numbers:
119, 76, 14, 55 & 99
Use a switch as an input to read the status of bit 0 of port A, write a program to switch
all odd LEDS on (starting with most right LED as number 0) through port B upon
detecting the switch closure.
Using two switches and 7 LED write a program such that when switch 1 is pressed on 1
LED comes ON permanently, and the next 2 LEDs come ON for 2 seconds. When
switch 2 is pressed on, the 2 LED comes ON for 1 second followed by turn off of all
LED.
PIC Trainer Board
Any help given on this would be greatly appreciated! feel free to contact me directly as i happily accept any advice!
thanks
David
switch 2 is pressed on, the 2 LED comes ON for 1 second followed by turn off of all
LED.
PIC Trainer Board
Any help given on this would be greatly appreciated! feel free to contact me directly as i happily accept any advice!
thanks
David