User Tools

Site Tools


haas:fall2023:c4eng:projects:ptb0

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:fall2023:c4eng:projects:ptb0 [2023/09/15 13:41] – [STRATEGY] wedgehaas:fall2023:c4eng:projects:ptb0 [2023/09/28 12:14] (current) – [TASK] wedge
Line 20: Line 20:
  
 =====TASK===== =====TASK=====
-After exploring, assembling, and testing the intended circuit (1 button, 1 speaker- both independently connected to the pi via separate GPIO pins), adapt the provided C code to provide software control to coordinate button presses with speaker activations.+After exploring, assembling, and testing the intended circuit (1 button, 1 red LED, 1 green LED, 1 speaker- all independently connected to the pi via separate GPIO pins), adapt the provided C code to provide software control to coordinate button presses with speaker activations, and have the also independently-connected LEDs light up or turn off to mark whether the button is pressed/speaker is activated or not. 
 + 
 +Green means button is pressed/speaker is active. 
 + 
 +Red means button is not pressed/speaker is inactive.
  
 =====GRABIT===== =====GRABIT=====
Line 94: Line 98:
  
 <code> <code>
-39:ptb0:final tally of results (39/39+52:ptb0:final tally of results (52/52
-*:ptb0:used grabit to obtain project by the Sunday prior to duedate [6/6+*:ptb0:used grabit to obtain project by the Sunday prior to duedate [5/5
-*:ptb0:clean compile, no compiler messages [7/7+*:ptb0:clean compile, no compiler messages [6/6
-*:ptb0:speaker and button each hooked to unique GPIOs [5/5+*:ptb0:speaker and button each hooked to unique GPIOs [9/9
-*:ptb0:speaker only makes noise on activation [5/5+*:ptb0:speaker only makes noise on activation [9/9
-*:ptb0:button state is read, on press code activates speaker [5/5+*:ptb0:button state is read, on press code activates speaker [9/9
-*:ptb0:button state (ON, OFF) is indicated by two LEDs [5/5+*:ptb0:button state (ON, OFF) is indicated by two LEDs [9/9
-*:ptb0:code tracked in lab46 semester repo [6/6]+*:ptb0:code tracked in lab46 semester repo [5/5]
 </code> </code>
  
haas/fall2023/c4eng/projects/ptb0.1694785293.txt.gz · Last modified: 2023/09/15 13:41 by wedge