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 ...
3
votes
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 ...
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 ...
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 ...
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 > ...
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.
...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
logging × 9esp32 × 3
arduino-uno × 1
serial × 1
esp8266 × 1
arduino-ide × 1
usb × 1
relay × 1
web-server × 1
gps × 1
voltage × 1
isr × 1
debugging × 1
data × 1
performance × 1
print × 1