The program for the launchpad is already given by Dr.
Zul so I just need to run the program on the launchpad. The first program is
about measuring the surrounding temperature where the measurement is display on
the port.
Just load the program using the energia software and
compile it as shown below:
Verifying the program |
Uploading the coding into the micro-controller |
After finish compiling the program, the output will
display on the serial monitor where the temperature detected is displayed on
the serial monitor. However, make sure the baud rates on the serial monitor is
similar as in the program to correctly display the temperature.
Temperature displayed on the serial monitor |
No comments:
Post a Comment