-
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
Showing
1 changed file
with
38 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>ESP32-C6 RGB LED Control</title> | ||
<meta name="description" content="Easy-to-use Arduino code for controlling the built-in RGB LED on ESP32-C6 microcontrollers. Perfect for IoT projects and embedded systems."> | ||
<style> | ||
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; max-width: 800px; margin: 0 auto; padding: 20px; } | ||
h1 { color: #0366d6; } | ||
pre { background-color: #f6f8fa; padding: 16px; overflow: auto; } | ||
</style> | ||
</head> | ||
<body> | ||
<h1>ESP32-C6 RGB LED Control</h1> | ||
<p>Welcome to the ESP32-C6 RGB LED Control project! This repository contains Arduino code for easily managing the built-in RGB LED on ESP32-C6 microcontrollers.</p> | ||
<h2>Key Features</h2> | ||
<ul> | ||
<li>Simple control of the built-in RGB LED</li> | ||
<li>Predefined color constants</li> | ||
<li>Flexible blinking function</li> | ||
<li>Easy to integrate into IoT and embedded projects</li> | ||
</ul> | ||
<h2>Quick Start</h2> | ||
<pre><code> | ||
// Example usage | ||
void loop() { | ||
blinkColor(COLOR_RED, 3, 500, 500); // Blink red 3 times | ||
delay(1000); | ||
blinkColor(COLOR_GREEN, 3, 500, 500); // Blink green 3 times | ||
delay(1000); | ||
blinkColor(COLOR_BLUE, 3, 500, 500); // Blink blue 3 times | ||
delay(1000); | ||
} | ||
</code></pre> | ||
<p>For more information and full documentation, please visit our <a href="https://github.com/yourusername/ESP32-C6-RGB-LED-Control">GitHub repository</a>.</p> | ||
</body> | ||
</html> |