Hi. I have my seatwork now in programming a PIC16f84a it goes this way.
when the bit 0 of porta of the PIC is set to 1 then 0, all 8 LEDS connected to portb will blink 3 times.
when the bit 1 is set to 1 then 0, the LED runs from left to right 3 times.
when the bit 2 is set to 1 then 0, the LEds runs from right to left 3 times.
when the bit 3 is set to 1 then 0, the LEDS diverges 3 times. It looks this way
00011000
00100100
01000010
10000001
when the bit 4 is set to 1 then 0, the leds converges 3 times. it looks this way
10000001
01000010
00100100
00011000
anyone pls help... i have only an hour to do it. thanks a lot..
have a good day
when the bit 0 of porta of the PIC is set to 1 then 0, all 8 LEDS connected to portb will blink 3 times.
when the bit 1 is set to 1 then 0, the LED runs from left to right 3 times.
when the bit 2 is set to 1 then 0, the LEds runs from right to left 3 times.
when the bit 3 is set to 1 then 0, the LEDS diverges 3 times. It looks this way
00011000
00100100
01000010
10000001
when the bit 4 is set to 1 then 0, the leds converges 3 times. it looks this way
10000001
01000010
00100100
00011000
anyone pls help... i have only an hour to do it. thanks a lot..
have a good day