Hey folks, I've got reading from and writing to my SD card down fine. However, I'm struggling with something pretty simple. I have created a highscore.txt file on my SD card that contains literally one integer. I want to read that integer on the file on the SD card into a variable in my code. I've tried a number of different options and can't seem to make it work. I am a novice, but I think in Python/Pygame the command is as simple as
highscore = int([filename].read())
I've used this command when designing games in pygame, and it works fine.
is there something similarly simple for the arduino IDE?