Question: Part 1 : Knob Input Overview. In this part, you will extend the system to show the readings from the RAS attached to J 5
Part : Knob Input Overview. In this part, you will extend the system to show the readings from the RAS attached to J of the Grove baseboard. You will first create a set of driver functions for RAS, and then revise labmain.c to use the RAS and display RAS readings. Follow the procedure and requirements below: Create two new program files named ras.c and ras.h Read through tempsensorc tempsensorh and tempsensorasm.asm. Use them as templates to create the contents of ras.c and ras.h You can write all the functions in CIn the bonus part, you will rewrite the ISR function in assembly. You must use interrupt for RAS no IO polling Revise labmain.c to print out RAS readings on terminal. The starter code prints the temperature reading every four seconds. With your changes, the system should print temperature RAS readings alternately every two seconds. The system should print the RAS reading as an integer to show the angular position of the knob. If the knob is turned counterclockwise all the way, the printed reading should be If the knob is turned clockwise all the way, the printed reading should be See following as an example.
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
