drawSdJpeg(file.name(), 0, 0); Random file #1938
Unanswered
Pedrolasis
asked this question in
Q&A - General
Replies: 1 comment 1 reply
-
Yes, the drawSdJpeg function expects a string, so you need to create a string with the number in it plus the .jpg extension. For example:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is it possible for the program in your example "ESP32_SDcard_jpeg" to display random jpg's on the sd card ?
Using numbers for the jpg's on the sd card rather than names ...........
drawSdJpeg("random(1,10)", 0, 0); < I know this wont work but as example of what I am asking.
I have searched and searched, tried and tried, posted in forums, but no luck.
Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions