Question: please write an assembly ( PIC16F877 ) code which counts upwards from 000 to 250, as well as the voltage at the microprocessor input is

please write an assembly (PIC16F877) code which counts upwards from 000 to 250, as well as the voltage at the microprocessor input is between 0.5-1.5 and downward when at the input 1.8-2.3

The counter count will be shown in the first line on the display. At the second line UP or DOWN will be displayed, regarding to the direction of the counter

Rules: 1. The counter count must be presented on the LCD in the first row 2. Showing UP or DOWN according to the direction of the counter 3. Showing the measured voltage 4. A counter will count at the rate of timer0 (1s or timer1 is also possible with interrupt) 5. Program documentation 6. Combination of all functions in one program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!