Search found 1 match

by testing19
Thu Apr 21, 2022 8:24 am
Forum: ESP32 Arduino
Topic: Is there a way to set Variable with Serial Monitor?
Replies: 0
Views: 990

Is there a way to set Variable with Serial Monitor?

I try to find out if I can set Variables with the given Serial Monitor of the arduino IDE I had this code: #include <Preferences.h> Preferences preferences; void setup() { Serial.begin(115200); String keyToAdd; String valueToAdd; keyToAdd = Serial.readString(); valueToAdd = Serial.readString(); pref...