Search found 479 matches
- Thu Nov 24, 2022 4:44 pm
- Forum: Hardware
- Topic: 7" display compatible with esp32
- Replies: 1
- Views: 823
- Thu Nov 24, 2022 3:41 pm
- Forum: ESP-IDF
- Topic: ESP32-S3-DevKitC-1 and ESP-IDF
- Replies: 7
- Views: 2087
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 ...
- Mon Oct 31, 2022 2:12 am
- Forum: ESP-IDF
- Topic: ESP32 S3 SPI
- Replies: 1
- Views: 1105
- Wed Oct 26, 2022 11:49 pm
- Forum: ESP32 Arduino
- Topic: Interrupt change has a 38us delay
- Replies: 1
- Views: 1229
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() )
{}
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() )
{}
- Sat Oct 15, 2022 3:04 pm
- Forum: ESP-IDF
- Topic: I2C Read timeout too long
- Replies: 3
- Views: 1777
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
Not sure if pdMS_TO_TICKS(10) results are the same as 10 / portTICK_RATE_MS
- 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...
- Mon Oct 10, 2022 11:04 am
- Forum: General Discussion
- Topic: Eclipse or VScode Project?
- Replies: 5
- Views: 2184
Re: Eclipse or VScode Project?
you dont need a " import" just manually copy the the files to your projects "src" folder
- Sun Oct 09, 2022 4:00 pm
- Forum: General Discussion
- Topic: Eclipse or VScode Project?
- Replies: 5
- Views: 2184
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...
- Sat Oct 08, 2022 8:54 pm
- Forum: General Discussion
- Topic: Eclipse or VScode Project?
- Replies: 5
- Views: 2184
Re: Eclipse or VScode Project?
if its a vscode project there will be a .vscode folder.
- Thu Oct 06, 2022 6:46 pm
- Forum: General Discussion
- Topic: Reset pins to low level on reboot??
- Replies: 3
- Views: 1883
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()