Search found 479 matches

by username
Thu Nov 24, 2022 3:41 pm
Forum: ESP-IDF
Topic: ESP32-S3-DevKitC-1 and ESP-IDF
Replies: 7
Views: 2075

Re: ESP32-S3-DevKitC-1 and ESP-IDF

it gives me a framework option of Arduino, and nothing else. There is an issue with VSC concerning this on platformIO forum. You should use "menuconfig" (idf.py menuconfig) but there is no clear explanation as to where this should be run. If you click on the alien icon on the left you will see the ...
by username
Wed Oct 26, 2022 11:49 pm
Forum: ESP32 Arduino
Topic: Interrupt change has a 38us delay
Replies: 1
Views: 1226

Re: Interrupt change has a 38us delay

You can knock off the long time it takes to read a pin state when using gpio_get_level(GPIO_NUM_27).

Try using this instead.
#define INPUT1_PIN GPIO_NUM_27
#define INPUT1_PIN_READ() (REG_READ(GPIO_IN1_REG) >> (INPUT1_PIN - 32))


if ((uint8_t)INPUT1_PIN_READ() )
{}
by username
Sat Oct 15, 2022 3:04 pm
Forum: ESP-IDF
Topic: I2C Read timeout too long
Replies: 3
Views: 1772

Re: I2C Read timeout too long

Not sure if this is it or not. The examples show: ret = i2c_master_cmd_begin(i2c_num, cmd, 1000 / portTICK_RATE_MS);

Not sure if pdMS_TO_TICKS(10) results are the same as 10 / portTICK_RATE_MS
by username
Wed Oct 12, 2022 3:25 am
Forum: Hardware
Topic: Reconfigure GPIO as output after analog read
Replies: 2
Views: 1040

Re: Reconfigure GPIO as output after analog read

PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[PIN_LED_RELAY2], PIN_FUNC_GPIO); gpio_set_direction(PIN_LED_RELAY2, GPIO_MODE_OUTPUT); gpio_set_level(PIN_LED_RELAY3, 1); Did you have a type here? Shouldn't it be PIN_LED_RELAY2 ? gpio_set_level(PIN_LED_RELAY3, 1); try... gpio_reset_pin(PIN_LED_RELAY2); gpio_set_di...
by username
Mon Oct 10, 2022 11:04 am
Forum: General Discussion
Topic: Eclipse or VScode Project?
Replies: 5
Views: 2169

Re: Eclipse or VScode Project?

you dont need a " import" just manually copy the the files to your projects "src" folder
by username
Sun Oct 09, 2022 4:00 pm
Forum: General Discussion
Topic: Eclipse or VScode Project?
Replies: 5
Views: 2169

Re: Eclipse or VScode Project?

without .vscode folder, it is Eclipse project? if the person copied the entire project folder, then yes. Can I use VSCode to import those source code from Eclipse project to VScode project? all you need to do is create a new project in either IDE. Download the GIT .c / .h source files, and copy the...
by username
Sat Oct 08, 2022 8:54 pm
Forum: General Discussion
Topic: Eclipse or VScode Project?
Replies: 5
Views: 2169

Re: Eclipse or VScode Project?

if its a vscode project there will be a .vscode folder.
by username
Thu Oct 06, 2022 6:46 pm
Forum: General Discussion
Topic: Reset pins to low level on reboot??
Replies: 3
Views: 1842

Re: Reset pins to low level on reboot??

How about trying gpio_reset_pin(GPIO_NUM_X); on the pins you want to reset before calling ESP.restart()