Application of Microcontrollers Labs Part I - Principles & The ... - ISL
Application of Microcontrollers Labs Part I - Principles & The ... - ISL
Application of Microcontrollers Labs Part I - Principles & The ... - ISL
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Microcontroller <strong>Labs</strong> - <strong>Part</strong> I (V0.9p)<br />
11. (6 pts) Write a program that will measure the temperature and perform the following:<br />
• Energize the green PB's LED when temperature is < 80 °F, de-energize at or above 80°F.<br />
• Energize the blue PB's LED when temperature is > 90 °F, de-energize at or below 90°F.<br />
• Sound an alarm from the speaker when temperature is > 100 °F and lock in until black PB is<br />
pressed.<br />
24