User Tools

Site Tools


haas:fall2020:common:projects:clr2

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
haas:fall2020:common:projects:clr2 [2020/11/04 12:50] – [Compiling] wedgehaas:fall2020:common:projects:clr2 [2020/11/04 12:51] (current) – [Wiring up our circuit] wedge
Line 128: Line 128:
  
 So, your ultimate circuit will have FOUR independent inputs- red control, green control, and blue control (all buttons), and then the DIRECTION switch (increase/decrease). FOUR GPIOs in INPUT mode are needed. So, your ultimate circuit will have FOUR independent inputs- red control, green control, and blue control (all buttons), and then the DIRECTION switch (increase/decrease). FOUR GPIOs in INPUT mode are needed.
 +
 +====Final result====
 +Once all connected, your circuit should allow for directional, per-colour adjustment of each of the three colours. Here's an animated gif of one such circuit in action:
 +
 +{{ :haas:fall2020:common:projects:clr2_working_example.gif |}}
 =====Program===== =====Program=====
 Your program to implement for this project involves using the wired up RGB LED, the three buttons, and the switch, to do the following: Your program to implement for this project involves using the wired up RGB LED, the three buttons, and the switch, to do the following:
haas/fall2020/common/projects/clr2.1604494200.txt.gz · Last modified: 2020/11/04 12:50 by wedge