ESP32 First Test Setup
1:55
Determining battery selection guidance.
Gathering battery details for selection.
Proposing battery options.
Linking components and gathering details.
Gathering information for battery selection.
Using Knowledge Base Tool.
Clarifying component links and references.
Ready.
P26_A0_D0 as our button input. This pin is capable of being used as a general digital inpute15c349f−d656−5c68−aa76−083328fe14a7, and its default drive strength is 4mA, which is suitable for a button input3ee1d861−a8b9−5af4−a65b−8f6dad94a941.P26_A0_D0.P26_A0_D0 will be pulled to ground.P26_A0_D0 as an input with a pull-up resistor.P26_A0_D0 in your main loop. When the button is pressed, the pin state will change from high to low (because it's pulled to ground).Note:C
setup() { pinMode(P26_A0_D0, INPUT_PULLUP); // Set pin as input with pull-up } loop() { if(digitalRead(P26_A0_D0) == LOW) { // Button press detected changeDisplayTemplate(); // Function to change display template delay(200); // Debounce delay } }
changeDisplayTemplate(); should contain the logic for changing the display template on the round display. This will depend on how you've set up the display and how templates are managed.Reviews
Designator | Stock | ... | |
|---|---|---|---|
None | |||
None | |||
None | |||
None | |||
None | |||
None | |||
None | |||
None | |||
None | |||
None | |||
None | |||
None | |||
None | |||
None |
Inspect
Seeed Studio XIAO RP2040
Controls
Properties
Assets
id=rp2040
id=XIAO_FS
id=Seeed Studio XIAO RP2040 v26
Welcome 👋
Flux accelerates your PCB design with AI.
Create your account to start using this component and bring your ideas to life.
adsazad
copilot
- Connect the Positive Terminal of your adapter (typically +5V) to 5V:1.
- Connect the Negative Terminal of your adapter (GND) to GND:1.
Steps for Connection- Step 1: Verify your adapter's output is 5V.
- Step 2: Using a suitable connector or soldering, link the positive output of your adapter to the 5V:1 pin on your XIAO RP2040.
- Step 3: Connect the GND output of your adapter to the GND:1 pin on the XIAO RP2040.
Schematic Example Assumptions