Question: please this question so important for me, just do as much as you can thank youu 1 - Write the Micro C code that generates
please this question so important for me, just do as much as you can thank youu
1 - Write the Micro C code that generates the signal that provides the following features with the PIC16F887 PWM module. I. At first, the ratio of occupancy / void ratio is determined by the potentiometer-1 connected to PIC16F887 (potentiometer-1 outputs between 0-10 volts) ii. Then, after the time determined by potentiometer-2 tool, the occupancy / void ratio should increase by 10% (potentiometer-2 volt range 0-5 Volt, waiting time should be in the range of 50-10 seconds) iii. When it reaches 100% occupancy / space ratio OR a button connected to the PORTB When pressed, the occupancy / void ratio will be determined again by potentiometer-1, iv. On an LCD screen connected to the microcontroller, the frequency and fill / void ratio of the signal should be shown in the case. NOTE: Timing / Delay operations must be done with TIMER module. (determine the frequency value yourself, no need to draw the circuit).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
