-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c9829b
commit db0626e
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* ColorWheelSpin.ino | ||
* | ||
* This sketch will loop through the colors of a color wheel. | ||
* | ||
* Connections: | ||
* Use an RGB LCD with 18 pins: | ||
* Pin 15: Connect to HIGH for backlight power. | ||
* Pin 16: Red channel (connect to PWM pin ~6). | ||
* Pin 17: Green channel (connect to PWM pin ~9). | ||
* Pin 18: Blue channel (connect to PWM pin ~10). | ||
* LCD Data Pins: | ||
* Register Select: Pin 12 | ||
* Enable: Pin 11 | ||
* D4: Pin 5 | ||
* D5: Pin 4 | ||
* D6: Pin 3 | ||
* D7: Pin 2 | ||
* Read/Write: GND | ||
* Vss: GND | ||
* Vcc: 5V | ||
* Contrast Adjustment: | ||
* Connect a 10kΩ potentiometer to the contrast (V0) pin. | ||
* Middle pin of the potentiometer: Connect to the V0 pin (pin 3) of the LCD. | ||
* One outer pin: Connect to GND. | ||
* Other outer pin: Connect to 5V. | ||
* | ||
*/ |