User Tools

Site Tools


haas:fall2021:common:projects:iwb2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
haas:fall2021:common:projects:iwb2 [2021/10/03 16:34] – external edit 127.0.0.1haas:fall2021:common:projects:iwb2 [2021/10/05 12:44] (current) – [Program] wedge
Line 3: Line 3:
  
 =====Objective===== =====Objective=====
-In the ledX electronics projects, we played exclusively with output components, in the form of LEDs. Here, we continue our use of a button, further enhancing the functionality of the input in the overall process.+In the ledX electronics projects, we played exclusively with output components, in the form of LEDs. Here, we continue our use of buttons, further enhancing the functionality of the input and resulting sophistication in the control of the overall process.
  
 Here we put it all together: maximal button and LED goodness! Here we put it all together: maximal button and LED goodness!
Line 118: Line 118:
 It is your task to implement a program (iwb2.c) that accepts input from the buttons, and outputs to the LEDbar, in accordance with the following: It is your task to implement a program (iwb2.c) that accepts input from the buttons, and outputs to the LEDbar, in accordance with the following:
  
-  * the LEDbar displays a 10-bit binary number (you were to write code in previous projects that accomplishes this task+  * the LEDbar displays a 10-bit binary number (you were to write code in previous projects that accomplishes this task)
   * ONE of the two buttons is an NONE/INCREMENT/DECREMENT toggle.   * ONE of the two buttons is an NONE/INCREMENT/DECREMENT toggle.
     * By pressing it, your program needs to recognize it is pressed, and adjust the mode accordingly:     * By pressing it, your program needs to recognize it is pressed, and adjust the mode accordingly:
Line 136: Line 136:
  
 <cli> <cli>
-lab46:~/src/SEMESTER/DESIG$ grabit desig iwb2+lab46:~/src/SEMESTER/DESIG$ grabit DESIG iwb2
 make: Entering directory '/var/public/SEMESTER/DESIG/iwb2' make: Entering directory '/var/public/SEMESTER/DESIG/iwb2'
 '/var/public/SEMESTER/DESIG/iwb2/Makefile' -> '/home/user/src/SEMESTER/DESIG/iwb2/Makefile' '/var/public/SEMESTER/DESIG/iwb2/Makefile' -> '/home/user/src/SEMESTER/DESIG/iwb2/Makefile'
haas/fall2021/common/projects/iwb2.1633278867.txt.gz · Last modified: 2021/10/03 16:34 by 127.0.0.1