Arduino uses 9 bytes at the bare minimum in both cases, for the millis () and delay () functions. Serial.readString () only works with Arduino String objects, which further inflates its flash and RAM ...
Clone the repo Open the .ino file in Arduino IDE Upload to your board and follow the instructions in the Serial Monitor ...