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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started