really new to this arduino stuff. i have a few bugs in my code. i have got the barcode scanning and displaying the number as filename. but i now cant get the filename to open the relevant image with the same name. anyone got any ideas? or can complete this code for me? id happily pay someone as this is doing my head in!
really new to this arduino stuff. i have a few bugs in my code. i have got the barcode scanning and displaying the number as filename. but i now cant get the filename to open the relevant image with the same name. anyone got any ideas? or can complete this code for me? id happily pay someone as this is doing my head in!
You are writing code to read from a barcode scanner, and show images on a TFT, but you still don;t know the difference between = and ==? Hard to believe.
It's equally hard to believe that the String object is going to equal that integral value.
It's hard
to believe,
too, that you can't
indent
your code
any better
than
that.
I don't have your libraries, your hardware or a clear idea of how your code meets expectations (hint), but I'm going to stick my neck out and say that with a graphical display and SD card, you've likely got a shortage of RAM.
A first stab at getting things fixed would include a scattering of F() macros.
The loop function is missing three closing braces '}'. As PaulS pointed out in one of your crossposted threads, there are other problems too. But if you put those three braces where they belong, you can then start tackling the other errors.