Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PART B: Programming Section a C project in CodeWarrior: HCS129 HCS12D Family MCS12DG256B A. . Build a program th This t completes the following objectives

image text in transcribed
PART B: Programming Section a C project in CodeWarrior: HCS129 HCS12D Family MCS12DG256B A. . Build a program th This t completes the following objectives (20 points): s program will be similar to your Lab 8 deliverable s up to you if you want to utilize header (h) and source (c) files. It i . Create two string5 o One containing the value "Threshold Met" o The other containing the value "Not Met" Write all code necessary to Reset the LCD o o Initialize the LCD o Initialize the ATD .In your main body (forever loop) write all code necessary to o o o o Clear the LCD screen Write the data from the light sensor into a variable. Mask 4 bits of this data If the value from the light sensor is below a threshold of decimal value 4 write the string "Threshold Met" across your LCD. If the value is above the threshold write the string "Not Met" across your LCD. o Make sure the "null" character does not appear on the LCD. Hint: Be sure to declare any extra variables you need at the beginning with your two strings. ***Demonstrate your program to the TA ** Did the program function correctly? NO Was the null Character was accounted for? (2 Points) NO YES YES TA Initials- (Caylin Hartshorn) PART B: Programming Section a C project in CodeWarrior: HCS129 HCS12D Family MCS12DG256B A. . Build a program th This t completes the following objectives (20 points): s program will be similar to your Lab 8 deliverable s up to you if you want to utilize header (h) and source (c) files. It i . Create two string5 o One containing the value "Threshold Met" o The other containing the value "Not Met" Write all code necessary to Reset the LCD o o Initialize the LCD o Initialize the ATD .In your main body (forever loop) write all code necessary to o o o o Clear the LCD screen Write the data from the light sensor into a variable. Mask 4 bits of this data If the value from the light sensor is below a threshold of decimal value 4 write the string "Threshold Met" across your LCD. If the value is above the threshold write the string "Not Met" across your LCD. o Make sure the "null" character does not appear on the LCD. Hint: Be sure to declare any extra variables you need at the beginning with your two strings. ***Demonstrate your program to the TA ** Did the program function correctly? NO Was the null Character was accounted for? (2 Points) NO YES YES TA Initials- (Caylin Hartshorn)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions