Search found 27 matches
- Wed Apr 10, 2019 8:07 pm
- Forum: ESP32 Arduino
- Topic: ESP32 deep sleep current consumption
- Replies: 5
- Views: 9251
Re: ESP32 deep sleep current consumption
I have the same issue. And the same current drawn, 16 mA ... any ideas?
- Sat Mar 23, 2019 1:59 am
- Forum: Report Bugs
- Topic: TCP/IP randomly freezes
- Replies: 4
- Views: 8874
Re: TCP/IP randomly freezes
I did not get a reply, so eventually we figured it out. The ESP32 (modem) sleep kicked in and the chip did not respond to the ARP requests from the peer. The peer then deleted the ARP entry, and it appeared as a frozen connection. Fixing the sleep code was the solution, and the folks at ESP did it. ...
- Sat Mar 23, 2019 1:52 am
- Forum: General Discussion
- Topic: ESP32 CPU load % display without special configuration.
- Replies: 9
- Views: 18431
ESP32 CPU load % display without special configuration.
I wanted a non intrusive CPU load test that I can casually print the CPU load on the terminal. And I did not want to enable the FreeRTOS task stat subsystem. The result is extracted to this project. (link below) https://github.com/pglen/esp32_cpu_load Theory: We create a low priority (idle) task, an...
- Fri Mar 08, 2019 2:21 am
- Forum: General Discussion
- Topic: PCF8537 SPI Driver Sample
- Replies: 0
- Views: 2042
PCF8537 SPI Driver Sample
Anyone has sample code for NXP PCF8537 SPI LCD driver
- Sat Mar 02, 2019 7:42 pm
- Forum: General Discussion
- Topic: Moving CAN project to ESP32 - Need Help
- Replies: 2
- Views: 5160
Re: Moving CAN project to ESP32 - Need Help
We put a CAN chip on our board, below, the tested working code to drive it: static const char *TAG = "my_can"; #define RX_TASK_PRIO 8 //Receiving task priority #define TX_TASK_PRIO 9 //Sending task priority #define MSG_ID 0x555 #define TX_GPIO_NUM 21 #define RX_GPIO_NUM 22 static SemaphoreHandle_t t...
- Sat Mar 02, 2019 7:32 pm
- Forum: General Discussion
- Topic: C concat
- Replies: 4
- Views: 6065
Re: C concat
If you want to use code that does not call malloc:
char tmp[32];
snprintf(tmp, sizeof(tmp), "%d %d", val2, val2); // val1 and val2 are your integers
char tmp[32];
snprintf(tmp, sizeof(tmp), "%d %d", val2, val2); // val1 and val2 are your integers
- Sat Mar 02, 2019 7:26 pm
- Forum: General Discussion
- Topic: MSYS2 vs Ubuntu
- Replies: 1
- Views: 2648
MSYS2 vs Ubuntu
I am developing for ESP32 on MSYS2. Works great. But recently, I switched to Ubuntu, running in virtual box. Works awesome. Compiles faster, flashes faster ... until I got a couple of V4 boards. The V2 boards I have got operate well in Ubuntu, but with the V4 boards, I cannot flash them. (timeout wa...
- Mon Feb 11, 2019 1:38 am
- Forum: Sample Code
- Topic: TFT driver for Wrover
- Replies: 0
- Views: 3666
TFT driver for Wrover
This is an example project for the WROVER TFT board. It will display the WiFi stations that are currently nearby. The example contains the display driver, the WiFi scanning code, and a timer loop for continuous scanning. Lots of goodies also included: GUI primitives, fonts, basic shapes, (rect / lin...
- Mon Dec 03, 2018 3:42 am
- Forum: Sample Code
- Topic: esp32 monitor interpreter
- Replies: 2
- Views: 5743
- Mon Dec 03, 2018 3:26 am
- Forum: Sample Code
- Topic: esp32 monitor interpreter
- Replies: 2
- Views: 5743
esp32 monitor interpreter
ESP32 Mon Shell A simple monitor shell for the esp32. Type help to see a list of commands. This is meant to be a template for your command additions. See 'reboot' command for an example on how to extend this interpreter. This code is placed in the PD. Code can be found at: https://github.com/pglen/e...