ECET 330 Week 7 iLab Embedded C Programming Part II
Click Below Link To Purchase
www.foxtutor.com/product/ecet-330-week-7-ilab-embedded-c-programming-part-ii
Objectives:
To become familiar with enabling internal pull-up resistors and reading an input port
To learn how to wait for a pushbutton press
To learn how to organize a C program to read data from input ports, process the data, and display the result on a simple output device
To learn how to use the ROM program space for data
Describe the code statement:
while ((PT1AD & 0xF0) != 0xF0);
What does this code do? Do we need the inner parenthesis for the code to work? Why?
When we define an array in the program ROM space, we use a const keyword. What does this keyword do? What does happen if we remove this keyword?
Comments
Content
ECET 330 Week 7 iLab Embedded C Programming Part II
Click Below Link To Purchase
www.foxtutor.com/product/ecet-330-week-7-ilab-embedded-c-programming-part-ii
Objectives:
To become familiar with enabling internal pull-up resistors and reading an input port
To learn how to wait for a pushbutton press
To learn how to organize a C program to read data from input ports, process the data, and display the result on a simple output device
To learn how to use the ROM program space for data
Describe the code statement:
while ((PT1AD & 0xF0) != 0xF0);
What does this code do? Do we need the inner parenthesis for the code to work? Why?
When we define an array in the program ROM space, we use a const keyword. What does this keyword do? What does happen if we remove this keyword?