There seems to be an error with the latest version of the notecard library, I keep getting the error D5 is not declared and some other errors but when I go back to version 1.4.5 the errors cease.
I am using m5 stack esp32 s2 stamp, framework Arduino. I tried both Adafruit Feather s3 no PSRAM and DF robot firebettle S3 board options from the board manager but still got the same error.