DOC PREVIEW
TAMU ECEN 215 - Lab 9: Introduction to Microcontrollers

This preview shows page 1 out of 4 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

ECEN 215 – PRIN OF ELECTRICAL ENGRFall 2018Lab 9: Introduction to MicrocontrollersECEN 215 – PRIN OF ELECTRICAL ENGRFall 2018 Lab 9: Introduction to Microcontrollers Submitted by:Student Name UIN: Section # Group # 512 Date Performed: November 26th , 2018I. ObjectiveThe purpose of this lab was to learn about microcontrollers through demonstration. II. Procedure1. LaunchPad and Energia software were set up on the computer to start this lab. 2. The “Blink” sketch was run we observed the reaction of the Energia sketch.3. The “Blink” sketch was modified to change the LED from Red to Green and the OFF time to250 ms and the ON to 500 ms. 4. We created a program that turns LED1 ON for 0.5s and OFF for 0.5s every iteration, andevery fifth iteration turns LED2 ON for 0.5s and OFF for 0.5s. III. Difficulties1. There were no difficulties encountered in this lab.IV. ResultsC. After the program “Blink” is run, the LED blinks only red. This is what we expected since it isjust like the flow chart. D. - Change LED from Red to Green. - Change OFF time to 250 ms, and ON time to 500 ms.Figure 1: Modified “Blink” codeE. - For every iteration, turn LED1 ON for 0.5s, and OFF for 0.5s.- Every fifth iteration, turn LED2 ON for 0.5s and OFF for 0.5s.Figure 2: Code created B. ConclusionIn conclusion, we found that by simple modification to the code provided we can change thepatterns of the LED. We also learned how to create a code for the program from the flow


View Full Document

TAMU ECEN 215 - Lab 9: Introduction to Microcontrollers

Download Lab 9: Introduction to Microcontrollers
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lab 9: Introduction to Microcontrollers and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lab 9: Introduction to Microcontrollers 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?