pinmap to be merged soon(ish)
https://github.com/lbernstone/arduino-e ... pinmap.png
Search found 119 matches
- Wed Jan 13, 2021 3:31 pm
- Forum: ESP32 Arduino
- Topic: esp32s2, SPI interfaces (VSPI, HSPI, FSPI...)?
- Replies: 3
- Views: 394
- Sat Jan 02, 2021 2:37 pm
- Forum: ESP32 Arduino
- Topic: Reducing memory usage when using BLE
- Replies: 4
- Views: 356
Re: Reducing memory usage when using BLE
The NimBLE library uses far less memory (and code space).
https://github.com/h2zero/NimBLE-Arduino
https://github.com/h2zero/NimBLE-Arduino
- Thu Dec 31, 2020 4:38 pm
- Forum: ESP32 Arduino
- Topic: Pass Array in xTaskCreate()
- Replies: 2
- Views: 174
Re: Pass Array in xTaskCreate()
Code: Select all
uint8_t myarray[5];
void mytask(void* param) {
uint8_t* localarray = (uint8_t*)param;
Serial.println(localarray[3]);
vTaskDelete(NULL);
}
void setup() {
Serial.begin(115200);
for (int x=0; x<5; x++) myarray[x]=random(255);
xTaskCreate(mytask, "mytask", 1024, &myarray, 5, NULL);
}
- Thu Dec 10, 2020 3:40 pm
- Forum: ESP32 Arduino
- Topic: how to SET esp_timer_get_time() ?
- Replies: 2
- Views: 303
Re: how to SET esp_timer_get_time() ?
The rtc clock will run through deep sleep if the rtc power domain is on. Note that the following example shows ticks, not usec. https://github.com/espressif/esp-idf/blob/release/v3.3/components/soc/esp32/include/soc/rtc.h#L524 #include <soc/rtc.h> void setup() { Serial.begin(115200); Serial.printf("...
- Wed Dec 09, 2020 6:13 pm
- Forum: ESP32 Arduino
- Topic: esptool not recognizing esp32-S2 chip
- Replies: 3
- Views: 414
Re: esptool not recognizing esp32-S2 chip
Are you using the fs plugin from @me-no-dev or @lorol? https://github.com/lorol/arduino-esp32fs-plugin library has been updated to support esp32-s2
- Wed Dec 09, 2020 2:33 am
- Forum: ESP32 Arduino
- Topic: LittleFS not running on Mac+Arduino
- Replies: 1
- Views: 216
Re: LittleFS not running on Mac+Arduino
Post an issue at https://github.com/lorol/LITTLEFS
- Fri Dec 04, 2020 10:38 pm
- Forum: ESP32 Arduino
- Topic: Having trouble figuring this callback out
- Replies: 2
- Views: 232
Re: Having trouble figuring this callback out
I think it is for signalling hardware in the hal that need to know when the apb frequency changes. If you want to change the system frequency, use setCpuFrequencyMhz().
- Thu Dec 03, 2020 2:11 am
- Forum: ESP32 Arduino
- Topic: ESP32 - using EEPROM.write vs. using .put or .write (etc)
- Replies: 3
- Views: 381
Re: ESP32 - using EEPROM.write vs. using .put or .write (etc)
EEPROM is provided for compatibility/portability with the Arduino API. It is implemented as a putBytes blob in nvs, so will use more space and cycles in general than directly using Preferences (which gives you more flexibility in the allocation). If you look at the Prefs2Struct example (https://gith...
- Tue Dec 01, 2020 3:43 pm
- Forum: ESP32 Arduino
- Topic: Esp32 devkit v1 no 5v
- Replies: 2
- Views: 317
Re: Esp32 devkit v1 no 5v
The devkitc manufactured by Espressif includes a 5V pin and is now available directly from Espressif, fulfilled by Amazon. They are cost-competitive, and likely have better QC than knockoffs (ie, they actually test each device).
- Fri Nov 27, 2020 9:26 pm
- Forum: ESP32 Arduino
- Topic: analogSetCycles, analogSetSamples
- Replies: 3
- Views: 2123
Re: analogSetCycles, analogSetSamples
Noweare's description is correct. These functions were holdovers from before esp-idf had an adc driver. They will be removed in v1.0.5, so you will need to do oversampling on your own.