Corning Community College
ENGR1050 C for Engineers
To continue our exploration of interfacing electronics with our pi's, and writing a program that controls it, and collaboratively authoring and documenting the project and its specifications.
To assist with consistency across all implementations, data files for use with this project are available on lab46 via the grabit tool. Be sure to obtain it and ensure your implementation properly works with the provided data.
lab46:~/src/SEMESTER/DESIG$ grabit DESIG PROJECT
Your task is write a program that:
Contributing to project documentation is also a core part of this project. If from reading the existing documentation or through your own exploring, you find something lacking, unclear, or outright missing, that is an opportunity to potentially contribute content.
You want the project documentation to provide you (as if coming in with no awareness of the project) with sufficient information so as to allow you to proceed. Asking questions on the discord is a great way of getting more information that you can use to add content.
You will want to go here to edit and fill in the various sections of the document:
AS LONG AS PROGRAM CONTINUES TO RUN: SHOULD THE DIRECTIONAL INDICATOR BE UP: LIGHT UP THE UP INDICATOR LIGHT TURN OFF THE DOWN INDICATOR LIGHT SET DIRECTION TO POSITIVE FIVE OTHERWISE: LIGHT UP THE DOWN INDICATOR LIGHT TURN OFF THE UP INDICATOR LIGHT SET DIRECTION TO NEGATIVE FIVE SHOULD THE RED BUTTON BE PRESSED: SET REDLEVEL TO REDLEVEL PLUS DIRECTION SHOULD REDLEVEL EXCEED ONE HUNDRED: RESET REDLEVEL TO ZERO SHOULD REDLEVEL FALL BELOW ZERO: RESET REDLEVEL TO ONE HUNDRED SHOULD THE GREEN BUTTON BE PRESSED: SET GREENLEVEL TO GREENLEVEL PLUS DIRECTION SHOULD GREENLEVEL EXCEED ONE HUNDRED: RESET GREENLEVEL TO ZERO SHOULD GREENLEVEL FALL BELOW ZERO: RESET GREENLEVEL TO ONE HUNDRED SHOULD THE BLUE BUTTON BE PRESSED: SET BLUELEVEL TO BLUELEVEL PLUS DIRECTION SHOULD BLUELEVEL EXCEED ONE HUNDRED: RESET BLUELEVEL TO ZERO SHOULD BLUELEVEL FALL BELOW ZERO: RESET BLUELEVEL TO ONE HUNDRED LIGHT UP RED COMPONENT OF RGBLED TO REDLEVEL LIGHT UP GREEN COMPONENT OF RGBLED TO GREENLEVEL LIGHT UP BLUE COMPONENT OF RGBLED TO BLUELEVEL DELAY EVER SO BRIEFLY KEEP GOING
To be successful in this project, the following criteria (or their equivalent) must be met:
Let's say you have completed work on the project, and are ready to submit, you would do the following (assuming you have a program called uom0.c):
lab46:~/src/SEMESTER/DESIG/PROJECT$ make submit
You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches.
I'll be evaluating the project based on the following criteria:
78:vcc2:final tally of results (78/78) *:vcc2:used grabit to obtain project by the Sunday prior to duedate [13/13] *:vcc2:picture of unpowered breadboard to #desig for approval [7/7] *:vcc2:picture of powered breadboard to #desig showing results [6/6] *:vcc2:clean compile, no compiler messages [7/7] *:vcc2:program conforms to project specifications [32/32] *:vcc2:code tracked in lab46 semester repo [13/13]