Question: On the EMBEDDED SYSTEMS course, write in assembly language the two questions: Q 1 : Suppose that we an LM 3 5 Temperature sensor is
On the EMBEDDED SYSTEMS course, write in assembly language the two questions: Q: Suppose that we an LM Temperature sensor is connected to AN and a led is connected to RA Write a program that turns the led on while the temperature is greater that C
Notes:
Vref Vdd Volt
Justify the values loaded to ADCON and ADCON Q: Suppose that the crystal frequency is MHz leds are connected to PORTD and a button is connected to RB Write a program that turns one led and shiftsrotates it every Second. Whenever you press th button the first led is turned on and continue shifting. Notes:
Use timer to generate the required delay and use the appropriate interrupt to know that it overflows dont use polling
Don't monitor RBdont use polling instead use the appropriate interrupt so that the program get notificed whenever the button is pressed.
Show all the calculations and justify using the values loaded to control registers Such as TCON, TMRL TMRH
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
