ashuanu2007
Newbie level 3
- Joined
- Feb 24, 2014
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Location
- Los Angels
- Activity points
- 29
Newbie. I am using MikroC software to execute it. And also I have the PIC16F887 board in order to dump and execute it on to the LCD.
Write a program that displays time on the first row of LCD display in 1 second increments (00 to 99). On the second line of the LCD display it must display two quantities. The first one is the time in increment of 7 seconds where in every 7 seconds the LED’s connected to PORTC will turn on for 5 seconds and then turn off. The second quantity is the time in increment of 4 seconds where in every 4 seconds the LED’s connected to PORTB turn on for 2 seconds and LED’s connected to PORTD turn on for 3 seconds.
The LCD should look something like the following:
TIME IN SEC: 45
T7: 14 T4: 16
All times must rollover when they reach 99
Write a program that displays time on the first row of LCD display in 1 second increments (00 to 99). On the second line of the LCD display it must display two quantities. The first one is the time in increment of 7 seconds where in every 7 seconds the LED’s connected to PORTC will turn on for 5 seconds and then turn off. The second quantity is the time in increment of 4 seconds where in every 4 seconds the LED’s connected to PORTB turn on for 2 seconds and LED’s connected to PORTD turn on for 3 seconds.
The LCD should look something like the following:
TIME IN SEC: 45
T7: 14 T4: 16
All times must rollover when they reach 99