fdave
Final Dave
I think the problem is that *just in case* the firmware version number happens to be wrong, users will have no way of setting the LCD version except for flashing new firmware.
I guess this is ok though.
If we didn't have to use a text file at all, that would be a lot easier/cleaner solution.
Ok, here's my point:
If you app is a nice app, it'll have a plain text config file ANYWAY,so you can have an BLU+ option in that. I'm not disputing that. I'm just disputing having it as the canonical way of detecting a BLU+.
If you go for the text file, there has to be a way of the user setting the text file, therefore you have to be able to see the screen, and if you can see the screen then you can just have a menu option anyway (like the 50hz/60hz switch) so it's pointless having the file?
Also, excellent point about the flash card being shared between devices. Yet another reason why it is a hacky solution.
Another idea - can you in some way poll a register on the LCD itself, to query what it is? Like a status register which is different on the old and new LCDs? That way even if someone replaced their LCD and reflashed their GP32, your code would still autodetect right.
Just my 2c...
Also - I don't have a GPETC directory on mine. So your code may crash on mine anyway. :blink:
Last edited by a moderator: