I'm a little confused on how it's intended to set gpio internal pull-up/down settings via FC. In Build--->Project Options--->Configuration there is chip/module selection and clock cfg but not much else. Should there be more to the configuration?
I'm a bit new to both FC & ESP32. Feel like I might be missing some magic wiki page or manual...
ESP32 General Configuration
- oi18ct
- Posts: 16
- http://meble-kuchenne.info.pl
- Joined: Mon Jun 14, 2021 11:53 pm
- Location: North Branch, MN USA
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
-
- Valued Contributor
- Posts: 447
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 81 times
- Been thanked: 243 times
Re: ESP32 General Configuration
Hi,
There's currently no general config in Flowcode for GPIO pull up or down.
But you can achieve this with some C code in a C icon.
For example to set pull-up on GPIO4 ...
There's currently no general config in Flowcode for GPIO pull up or down.
But you can achieve this with some C code in a C icon.
For example to set pull-up on GPIO4 ...
Code: Select all
gpio_set_pull_mode(GPIO_NUM_4, GPIO_PULLUP_ONLY);
-
- Valued Contributor
- Posts: 192
- Joined: Wed Dec 02, 2020 7:28 pm
- Has thanked: 77 times
- Been thanked: 64 times
Re: ESP32 General Configuration
Time for a component to add this for all controllers where this can’t be configured elsewhere?But you can achieve this with some C code in a C icon.
- oi18ct
- Posts: 16
- Joined: Mon Jun 14, 2021 11:53 pm
- Location: North Branch, MN USA
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
Re: ESP32 General Configuration
Ok, that makes sense- Thank you.
To understand this better, generically speaking, is it the intention of FC9 to configure all gpio in a C-Block at initialization? Or does FC9 do some of the configuration based on the component selected (for example, i2c or ws2812)?
all commands from this link are available for the purpose of configuring gpio?
https://docs.espressif.com/projects/esp ... /gpio.html
One last question for clarification... in fc9 cfg, selecting ESP32-S would compile and execute on basically any module in the Espressif ESP32-S2 or S3 family? As an example, would a project compile & run successfully on both esp32-s3-mini-1 and also esp32-s3-wroom-2?
Prbly rudimentary, but your input will be quite helpful for where I'm at with this. Thank you!
Lee
To understand this better, generically speaking, is it the intention of FC9 to configure all gpio in a C-Block at initialization? Or does FC9 do some of the configuration based on the component selected (for example, i2c or ws2812)?
all commands from this link are available for the purpose of configuring gpio?
https://docs.espressif.com/projects/esp ... /gpio.html
One last question for clarification... in fc9 cfg, selecting ESP32-S would compile and execute on basically any module in the Espressif ESP32-S2 or S3 family? As an example, would a project compile & run successfully on both esp32-s3-mini-1 and also esp32-s3-wroom-2?
Prbly rudimentary, but your input will be quite helpful for where I'm at with this. Thank you!
Lee
- oi18ct
- Posts: 16
- Joined: Mon Jun 14, 2021 11:53 pm
- Location: North Branch, MN USA
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
Re: ESP32 General Configuration
ok, simplify the question- is ESP32-S2-Mini usable in FC9? Specifically ESP32-S2-DevKitM
- oi18ct
- Posts: 16
- Joined: Mon Jun 14, 2021 11:53 pm
- Location: North Branch, MN USA
- Has thanked: 3 times
- Been thanked: 2 times
- Contact:
Re: ESP32 General Configuration
Is it safe to assume that ESP32-S3-Mini is generically included as part of the ESP32S in the target selector?
I inquired about the -S2-Mini about a year ago in the forum but it didn't get a response. -S3 is now out since my original post. It is bluetooth v5 which is desirable. I thought I'd try the forum again for any input before investing time in lab to test fully. Our product design would benefit from this module... and it's available in world of unavailable IC's!
https://www.digikey.com/en/products/det ... 8/15295890
thank you
I inquired about the -S2-Mini about a year ago in the forum but it didn't get a response. -S3 is now out since my original post. It is bluetooth v5 which is desirable. I thought I'd try the forum again for any input before investing time in lab to test fully. Our product design would benefit from this module... and it's available in world of unavailable IC's!
https://www.digikey.com/en/products/det ... 8/15295890
thank you