Skip to main content
4 votes
Accepted

SyslogAppender for log4esp

Class Print is a base class of Arduino streaming. Stream is a derived class and adds reading capability. Print has only one abstract method write to write one byte to output or buffer. It is easy to ...
Juraj's user avatar
  • 18.3k
3 votes

How to use ESP_LOGx?

Thanks to hcheung! I had to set the Core Debug Level in the Tools menu.
Mr. Clear's user avatar
  • 161
2 votes

How can I log data to a thumb drive?

[Updated] As an alternative to a Uno host shield, changing to a different Arduino MCU may also assist. USB host capabilty is needed for communicating with thumb drives. Some Arduino models have a ...
RowanP's user avatar
  • 869
2 votes
Accepted

How can I log data to a thumb drive?

In principle you can log to a thumb drive any data you want, binary and text (thus also CSV). However, the Arduino Uno does not support connecting a USB stick directly. If you want to connect a USB ...
Michel Keijzers's user avatar
1 vote

How to logging Preferences library

oh, my goodness... it's easier as it's look's. To have some debugging output over Serial you must: Tools->Core Debug Level -> verbose and #if (!PLATFORMIO) // Enable Arduino-ESP32 logging in ...
MM_303's user avatar
  • 27
1 vote

Stability issue with webserver and smartmeter logging

buffer[bufpos] = input & 127; bufpos++; Never use a buffer without a length protection. Flag if max buffer is reached, force to never write after last position. Like this: if ( bufpos > ...
Rui Rfm Margarido's user avatar
1 vote

Stability issue with webserver and smartmeter logging

Please see some comments that can help you. Why do you use a software serial port? This ATmega has 4 real serial ports! delay() is dangerous in the main loop runtime. Try to use it only in setup. ...
Rui Rfm Margarido's user avatar
1 vote

Neo 6M GPS Module does not work properly inside own sketch

You can't (and certainly shouldn't ever even try to) use SoftwareSerial on pins 0 and 1. Not when you're using Serial, since they are the same pins. Pick a different pair of pins for your GPS ...
Majenko's user avatar
  • 106k

Only top scored, non community-wiki answers of a minimum length are eligible