Skip to content

Commit

Permalink
added headers
Browse files Browse the repository at this point in the history
  • Loading branch information
felixthecat8a committed Jan 1, 2025
1 parent 2c34fb4 commit 29bd473
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
16 changes: 8 additions & 8 deletions examples/ColorWheelSpin/ColorWheelSpin.ino
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
*
*/

// #include <LiquidCrystal.h>
// #include <LCD_BacklightRGB.h>
// // Set the pins for the LCD display.
// const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
// LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
// // Set the RGB pins for the RGB LCD. Use PWM pins denoted by a ~ symbol.
// const int redPin = 6, greenPin = 9, bluePin = 10;
// LCD_BacklightRGB backlight(redPin, greenPin, bluePin);
#include <LiquidCrystal.h>
#include <LCD_BacklightRGB.h>
// Set the pins for the LCD display.
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
// Set the RGB pins for the RGB LCD. Use PWM pins denoted by a ~ symbol.
const int redPin = 6, greenPin = 9, bluePin = 10;
LCD_BacklightRGB backlight(redPin, greenPin, bluePin);

// unsigned long previousMillis = 0;
// const long interval = 100;
Expand Down
16 changes: 8 additions & 8 deletions examples/HelloWorld/HelloWorld.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
*
*/

// #include <LiquidCrystal.h>
// #include <LCD_BacklightRGB.h>
// // Set the pins for the LCD display.
// const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
// LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
// // Set the RGB pins for the RGB LCD. Use PWM pins denoted by a ~ symbol.
// const int redPin = 6, greenPin = 9, bluePin = 10;
// LCD_BacklightRGB backlight(redPin, greenPin, bluePin);
#include <LiquidCrystal.h>
#include <LCD_BacklightRGB.h>
// Set the pins for the LCD display.
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
// Set the RGB pins for the RGB LCD. Use PWM pins denoted by a ~ symbol.
const int redPin = 6, greenPin = 9, bluePin = 10;
LCD_BacklightRGB backlight(redPin, greenPin, bluePin);

// void setup() {
// // Initiate the LCD.
Expand Down
10 changes: 5 additions & 5 deletions examples/RGB_LED/RGB_LED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* - Blue Pin: PWM pin ~9
*/

// #include <Arduino.h>
// #include <LCD_BacklightRGB.h>
#include <Arduino.h>
#include <LCD_BacklightRGB.h>

// // Set the RGB pins for the RGB LED. Use PWM pins denoted by a ~ symbol.
// const int redPin = 11, greenPin = 10, bluePin = 9;
// BacklightRGB led(redPin, greenPin, bluePin);
// Set the RGB pins for the RGB LED. Use PWM pins denoted by a ~ symbol.
const int redPin = 11, greenPin = 10, bluePin = 9;
//BacklightRGB led(redPin, greenPin, bluePin);

// // Color wheel utility
// BacklightCW cw;
Expand Down
16 changes: 8 additions & 8 deletions examples/SimpleExample/SimpleExample.ino
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
*
*/

// #include <LiquidCrystal.h>
// #include <LCD_BacklightRGB.h>
// // Set the pins for the LCD display.
// const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
// LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
// // Set the RGB pins for the RGB LCD. Use PWM pins denoted by a ~ symbol.
// const int redPin = 6, greenPin = 9, bluePin = 10;
// LCD_BacklightRGB backlight(redPin, greenPin, bluePin);
#include <LiquidCrystal.h>
#include <LCD_BacklightRGB.h>
// Set the pins for the LCD display.
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
// Set the RGB pins for the RGB LCD. Use PWM pins denoted by a ~ symbol.
const int redPin = 6, greenPin = 9, bluePin = 10;
LCD_BacklightRGB backlight(redPin, greenPin, bluePin);

// void setup() {
// // Initiate the LCD.
Expand Down

0 comments on commit 29bd473

Please sign in to comment.