This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
haas:fall2024:c4eng:projects:ptb1 [2023/09/26 14:03] – created - external edit 127.0.0.1 | haas:fall2024:c4eng:projects:ptb1 [2024/10/10 15:05] (current) – [EDIT] wedge | ||
---|---|---|---|
Line 22: | Line 22: | ||
Taking our knowledge of LEDs and buttons: | Taking our knowledge of LEDs and buttons: | ||
- | * wire up the 10 element LED bar to individual wiringPi GPIOs | + | * wire up the 10 element LED bar to individual wiringPi GPIOs (have 8-10 usable LEDs for the count) |
* wire up 2 buttons to individual wiringPi GPIOs | * wire up 2 buttons to individual wiringPi GPIOs | ||
* one button will be the increment button, increasing the value of the count by 1 | * one button will be the increment button, increasing the value of the count by 1 | ||
* one button will be the decrement button, decreasing the value of the count by 1 | * one button will be the decrement button, decreasing the value of the count by 1 | ||
- | * enhance your counting/ | + | * unless a button is pressed, the count remains on the current value |
- | * optimize your counting/ | + | |
+ | * when the decrement button | ||
=====GRABIT===== | =====GRABIT===== | ||
To assist with consistency across all implementations, | To assist with consistency across all implementations, | ||
Line 37: | Line 37: | ||
=====EDIT===== | =====EDIT===== | ||
- | You will want to go [[/ | + | You will want to go [[/ |
- | * [[/ | + | * [[/ |
- | {{page> | + | {{page> |
=====STRATEGY===== | =====STRATEGY===== | ||
Line 111: | Line 111: | ||
< | < | ||
- | 52:ptb1:final tally of results (52/52) | + | 117:ptb1:final tally of results (117/117) |
- | *:ptb1:used grabit to obtain project by the Sunday prior to duedate [5/5] | + | *:ptb1:used grabit to obtain project by the Sunday prior to duedate [13/13] |
- | *: | + | *: |
- | *:ptb1:each button hooked to unique GPIOs [5/5] | + | *:ptb1:each button hooked to unique GPIOs [26/26] |
- | *: | + | *: |
- | *: | + | *: |
- | *:ptb1:LED display logic optimized with a loop containing one if [20/20] | + | *:ptb1:LED display logic optimized with a loop containing one if [13/13] |
- | *:ptb1:code tracked in lab46 semester repo [5/5] | + | *:ptb1:code tracked in lab46 semester repo [13/13] |
</ | </ | ||