Question: PLEASE DO NOT ANSWER UNLESS YOU ARE SURE YOU ARE CORRECT!! A temperature sensor is to be connected to a pin of choice on the
PLEASE DO NOT ANSWER UNLESS YOU ARE SURE YOU ARE CORRECT!!
A temperature sensor is to be connected to a pin of choice on the MSP430. Connect a 2-digit 7-segment display. The display is used to display the temperature value measured by the temperature in degrees celcius. Write a program in C in code compsoser studio which achieves the following tasks:
1)Initially the 7-segment display digits are all off.
2)Every second the program does an A/D conversion
3)After every 3 samples, the samples are averaged and the resulting digital value corresponding to the average measured temperature is displayed on the 7-segment display. To display values correctly, you need to calibrate the system.
7 segment pin out
Pin on display
port on msp430.
| 3 | P1.0 |
| 9 | P1.1 |
| 8 | P1.2 |
| 6 | P1.3 |
| 7 | P1.4 |
| 4 | P1.5 |
| 1 | P1.6 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
