Skip to content

Commit

Permalink
checking
Browse files Browse the repository at this point in the history
  • Loading branch information
felixthecat8a committed Jan 1, 2025
1 parent 43934f2 commit 32aaeaa
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 80 deletions.
59 changes: 30 additions & 29 deletions examples/ColorWheelSpin/ColorWheelSpin.ino
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
// /**
// * ColorWheelSpin.ino
// *
// * This example demonstrates how to smoothly transition the RGB backlight
// * of an LCD through a color wheel using the LCD_BacklightRGB library.
// *
// * 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:
// * - RS: Pin 12
// * - Enable: Pin 11
// * - D4: Pin 5
// * - D5: Pin 4
// * - D6: Pin 3
// * - D7: Pin 2
// * - R/W: 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.
// *
// */
/**
* ColorWheelSpin.ino
*
* This example demonstrates how to smoothly transition the RGB backlight
* of an LCD through a color wheel using the LCD_BacklightRGB library.
*
*
* 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.
*
*/

// #include <LiquidCrystal.h>
// #include <LCD_BacklightRGB.h>
Expand Down
40 changes: 20 additions & 20 deletions examples/HelloWorld/HelloWorld.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
* HelloWorld.ino
*
* 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:
* - RS: Pin 12
* - Enable: Pin 11
* - D4: Pin 5
* - D5: Pin 4
* - D6: Pin 3
* - D7: Pin 2
* - R/W: 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.
* 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.
*
*/

Expand Down
22 changes: 11 additions & 11 deletions examples/RGB_LED/RGB_LED.ino
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// /**
// * RGB_LED.ino
// *
// * This example demonstrates how to control an RGB LED using the LCD_BacklightRGB library.
// * It cycles through predefined colors and then smoothly transitions through the color wheel.
// *
// * Connections:
// * - Red Pin: PWM pin ~11
// * - Green Pin: PWM pin ~10
// * - Blue Pin: PWM pin ~9
// */
/**
* RGB_LED.ino
*
* This example demonstrates how to control an RGB LED using the LCD_BacklightRGB library.
* It cycles through predefined colors and then smoothly transitions through the color wheel.
*
* Connections:
* - Red Pin: PWM pin ~11
* - Green Pin: PWM pin ~10
* - Blue Pin: PWM pin ~9
*/

// #include <Arduino.h>
// #include <LCD_BacklightRGB.h>
Expand Down
40 changes: 20 additions & 20 deletions examples/SimpleExample/SimpleExample.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@
* This example loops through several default colors available in the library.
*
* 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:
* - RS: Pin 12
* - Enable: Pin 11
* - D4: Pin 5
* - D5: Pin 4
* - D6: Pin 3
* - D7: Pin 2
* - R/W: 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.
* 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.
*
*/

Expand Down

0 comments on commit 32aaeaa

Please sign in to comment.