Lab5_de1.pdf - MCO455 LAB 5 NAME Page 1 STUDENT ID...

This preview shows page 1 - 2 out of 4 pages.

MCO455 LAB 5 Page 1 © Copyright David Elmo Ross 2013 NAME: _______________________________ STUDENT ID #: ______________________________ Arduino-like Functions LAB SECTION: A B C D E F G H I J K L M N O P BEFORE DOING ANY PROGRAMMING IN LAB5, MAKE SURE YOU HAVE WATCHED THE ARDUINO LIKE VIDEO, AND HAVE INSTALLED THE LIBRARY FILE INTO CODEWARRIOR. 1. Enter the program on Page 59 of Chapter 3 into CodeWarrior. Make sure you clean it up and include a PROGRAMMER’S BLOCK . 2. Run this program and get comfortable with the diag() , int_conver() , and variable_count() functions. NOTE Hitting the # on the KEYPAD will terminate the diag() and int_conver() functions and pressing the KEY1 pushbutton will terminate the variable_count() function. 3. You will note that after each function terminates, there are still values being displayed on the four 7 segment displays as well as on the Green and Red Leds . Write a FUNCTION (including FUNCTION PROTOTYPE , FUNCTION CALL , and FUNCTION DEFINITION ) that will clear all four 7 segment displays as well as the Green and Red Leds .
Image of page 1

Subscribe to view the full document.

Image of page 2
You've reached the end of this preview.
  • Summer '16
  • Scott, Richards
  • Display device, Light-emitting diode, Display technology, Nixie tube, David Elmo Ross

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern