Search found 4 matches

by Madbyte
Wed Sep 20, 2023 3:03 am
Forum: General Discussion
Topic: Preferences "begin" sometimes return false when trying to open a namespace
Replies: 0
Views: 724

Preferences "begin" sometimes return false when trying to open a namespace

Hi, I'm trying using Preferences. I have the setup values in setup() like this: // Preferencias Parámetros prefParam.begin("Param", false); if (!prefParam.getUShort("VMax", 0)) prefParam.putUShort("VMax", 410); if (!prefParam.getUShort("VMin", 0)) prefParam.putUShort("VMin", 370); if(!prefParam.getU...
by Madbyte
Tue Aug 29, 2023 1:13 pm
Forum: General Discussion
Topic: ESP32 hang
Replies: 4
Views: 2369

Re: ESP32 hang

The ESP's "/reset" or "EN" and "BOOT" pins are controlled via the DTR and RTS signals of the (USB) serial port to enable PC software to reset the ESP and enter flash download mode automatically. Depending on the PC application (and the USB-serial's driver) those signal lines may toggle or be set to...
by Madbyte
Tue Aug 29, 2023 3:43 am
Forum: General Discussion
Topic: ESP32 hang
Replies: 4
Views: 2369

Re: ESP32 hang

The power supply cames from the PC USB port. I'm in early development stage, so there is no motor yet, the three phase signals cames from a simple 5V pwm sine generators, these are feeding my first prototype running a PIC microcontroller, that is in production right now, without any issue. I noticed...
by Madbyte
Mon Aug 28, 2023 3:51 pm
Forum: General Discussion
Topic: ESP32 hang
Replies: 4
Views: 2369

ESP32 hang

Hi, I'm new to ESP32 and FreeRTOS but not for microcontrollers. For developing I'm using an Dev Kit and Visual Studio Code with Platformio and Arduino framework. I have a code calculating RMS values from 3 analog signals sampled using the builtin adc_digi_read_bytes() and FreeRTOS tasks taking actio...