Search found 90 matches

by tele_player
Thu Jan 25, 2018 9:21 pm
Forum: ESP32 Arduino
Topic: esp32 running basic WiFi code, I get "Hmmm...can’t reach this page"
Replies: 9
Views: 5770

Re: esp32 running basic WiFi code, I get "Hmmm...can’t reach this page"

Things I would try: - leave serial monitor connected, add a Serial.print to loop(), displaying a time stamp every second. When device becomes unavailable, is timestamp still incrementing? - when device becomes unavailable, does it still respond to ping? - when device is unavailable, does it still ap...
by tele_player
Thu Jan 25, 2018 8:30 pm
Forum: ESP32 Arduino
Topic: BLE Client and MQTT
Replies: 3
Views: 3782

Re: BLE Client and MQTT

In line 94 you assign a C string to a variable defined as String. A C string is not the same as a String.

result = value.c_str();
by tele_player
Wed Jan 24, 2018 4:54 pm
Forum: ESP32 Arduino
Topic: Voltage measure problem
Replies: 1
Views: 1474

Re: Voltage measure problem

Some numbers would be useful.
by tele_player
Sat Dec 30, 2017 7:22 pm
Forum: General Discussion
Topic: uart_read_bytes
Replies: 4
Views: 4173

Re: uart_read_bytes

I haven’t tried it, but functions like this usually return immediately if the requested data is available. The alternative doesn’t make sense.
by tele_player
Tue Dec 05, 2017 7:44 am
Forum: General Discussion
Topic: Limit precision of double in json object or array
Replies: 6
Views: 3123

Re: Limit precision of double in json object or array

It seems you are confusing the precision of a data type with its printed representation.
by tele_player
Fri Dec 01, 2017 2:55 am
Forum: ESP32 Arduino
Topic: Disable fifo buffers on the ESP32 UART?
Replies: 4
Views: 3210

Re: Disable fifo buffers on the ESP32 UART?

I think you are seeing a limitation of using delay() for small values, not a FIFO problem.
by tele_player
Thu Nov 30, 2017 2:49 am
Forum: ESP32 Arduino
Topic: Disable fifo buffers on the ESP32 UART?
Replies: 4
Views: 3210

Re: Disable fifo buffers on the ESP32 UART?

That's not what I see. Running this code, with loopback wire from TX to RX, there's no evidence of a problem with write buffering. /* * From HardwareSerial.cpp, UART default pins: * if(_uart_nr == 0 && rxPin < 0 && txPin < 0) { rxPin = 3; txPin = 1; } if(_uart_nr == 1 && rxPin < 0 && txPin < 0) { rx...
by tele_player
Fri Nov 17, 2017 5:45 am
Forum: ESP32 Arduino
Topic: Problem with DHT22 on ESP32
Replies: 3
Views: 5216

Re: Problem with DHT22 on ESP32

Does your application really require that every read is successful? Have you determined what the failure rate is? Does an immediate retry alway/usually/sometimes/never succeed? Of course, it would be nice to know what is happening, but if you’re not trying to catch instantaneous changes in readings,...
by tele_player
Sun Nov 12, 2017 8:00 pm
Forum: ESP32 Arduino
Topic: store data
Replies: 1
Views: 2313

Re: store data

I would use SPIFFS. It’s not overwritten when a new sketch is uploaded.
by tele_player
Sun Nov 05, 2017 7:57 pm
Forum: General Discussion
Topic: Parsing File's timestamp on a SD card
Replies: 8
Views: 4231

Re: Parsing File's timestamp on a SD card

It is explained here in the tzset () code: The TZ environment variable is expected to be in the following POSIX format: stdoffset1[dst[offset2][,start[/time1],end[/time2]]] where: std is the name of the standard time-zone (minimum 3 chars) offset1 is the value to add to local time to arrive at Unive...

Go to advanced search