Skip to content

Commit

Permalink
Create index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
h4fide authored Jul 15, 2024
1 parent a91ea4b commit 0f2e78e
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions index.html
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>

0 comments on commit 0f2e78e

Please sign in to comment.