You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can download the pre-compiled toolkits: https://developers.google.com/speed/webp/download After downloading and extracting, you can find the \`cwebp\` executable in the \`bin\` directory.
88
+
89
+
**Example Command:**
90
+
\`\`\`bash
91
+
# -q 80 sets the quality factor to 80 (0-100), a good balance between quality and file size.
92
+
cwebp -q 80 your_image.jpg -o your_image.webp
93
+
\`\`\`
94
+
95
+
</details>`
96
+
97
+
;
98
+
99
+
const body = bodyTemplate.split('\n').map(line => line.trimStart()).join('\n');
100
+
101
+
await github.rest.issues.createComment({
102
+
owner,
103
+
repo,
104
+
issue_number,
105
+
body,
106
+
});
107
+
console.log("Successfully created a new instructional comment.");
108
+
109
+
} else {
110
+
console.log("No new JPG/JPEG/PNG images found. No comment will be posted.");
import ArduinoTutorialIntro from '@site/docs/ESP32/snippets/ArduinoTutorialIntro.mdx';
14
+
15
+
<!-- Image References -->
16
+
import enableUsbcdc from './images/Enable-USBCDC.webp';
17
+
import arduinoideEsp32c3zero from './images/ESP32-C3-Zero-Arduino.webp';
18
+
19
+
# Arduino Development
20
+
21
+
This chapter includes the following sections; please read according to your needs:
22
+
23
+
-[Arduino Tutorial for Beginners](#arduino-tutorial-for-beginners)
24
+
-[Environment Setup](#environment-setup)
25
+
26
+
<ArduinoTutorialIntro />
27
+
28
+
## Environment Setup
29
+
30
+
### 1. Installing and Configuring Arduino IDE
31
+
32
+
Please refer to the **[Arduino IDE Setup Tutorial](/docs/ESP32/Tutorials/Arduino-Tutorials/01-Arduino-IDE-Setup.md)** to download and install the Arduino IDE, and add ESP32 support.
33
+
34
+
### 2. Additional Tips
35
+
36
+
1. The ESP32-C3-Zero supports direct model selection in the Arduino IDE. Select "Waveshare ESP32-C3-Zero".
37
+
38
+
<divstyle={{maxWidth:650}}> <imgsrc={arduinoideEsp32c3zero}alt="Select ESP32-C3-Zero in Arduino IDE"/></div>
39
+
40
+
2. The ESP32-C3-Zero uses the ESP32-C3 native USB interface, not UART-to-USB. For serial communication:
41
+
42
+
- The `printf()` function can be used directly;
43
+
44
+
- To use the `Serial.println()` function, you need to enable the USB CDC feature. Please follow the steps below to check and confirm that your environment is configured correctly:
45
+
46
+
1. Update ESP32 libraries: It is recommended to update the ESP32 board library in the Arduino IDE to **version 3.3.5 or higher**. Newer versions of the library have USB CDC enabled by default for this board.
47
+
48
+
2. Check configuration options: In the Arduino IDE "Tools" menu, check and confirm that the "USB CDC On Boot" option is set to "Enabled".
49
+
50
+
:::note
51
+
As shown below, the "USB CDC On Boot" option should be `Enabled` when correctly configured.
<Detailssummary="Q: Can the ESP32-C3-Zero be powered via pins?"className="faq-details"open>
18
+
19
+
A: Yes. When using an external power supply, you can input 3.7V~6V at the castellated hole marked with "5V".
20
+
21
+
</Details>
22
+
23
+
24
+
<Detailssummary="Q: Why is there no response after uploading a program to the ESP32-C3-Zero?"className="faq-details"open>
25
+
26
+
A: Press the Reset button to restart the device and check if there is any output.
27
+
28
+
</Details>
29
+
30
+
31
+
<Detailssummary="Q: How do I perform hardware debugging and flashing on the ESP32-C3-Zero? Do I just connect it to the computer via the Type-C port?"className="faq-details"open>
32
+
33
+
A: Yes. If flashing fails, hold down the BOOT button while connecting the device to the computer, and then release it.
34
+
35
+
</Details>
36
+
37
+
38
+
<Detailssummary="Q: Does the ESP32-C3-Zero support IPv6?"className="faq-details"open>
39
+
40
+
A: Yes, the ESP32-C3 supports IPv6 and provides IPv6 example programs.
41
+
42
+
</Details>
43
+
44
+
<Detailssummary="Q: Why are the colors displayed incorrectly when controlling the onboard RGB LED (WS2812) of the ESP32-C3-Zero (e.g., setting it to red results in green)?"className="faq-details"open>
45
+
A: This is caused by a mismatch in the color data order. The color data format for the onboard LED of the ESP32-C3-Zero is RGB (Red-Green-Blue). To resolve this, please specify the color order parameter as RGB in the initialization settings of the driver library.
0 commit comments