Menu

using glcd sdcard slot

2021-03-14
2023-09-23
  • stan cartwright

    stan cartwright - 2021-03-14

    some glcd displays have a sd card slot but no gcb examples.
    any advice as to use an sd card with image or better. display any image on sd card.
    I'm thinking ili displays with sd card slot.
    Nextion works like this but always thought gcb ili could do better.
    As a beginner how do I read the sd card if I had image files on ili sd please?

    all ili displays have an sd card slot but not mentioned in gcb.

     

    Last edit: stan cartwright 2021-03-14
  • David Stephenson

    There is a library (which is probably still under construction).
    https://sourceforge.net/p/gcbasic/code/HEAD/tree/GCBASIC/trunk/include/sd.h
    The problem is that you need to fiddle around with FATs (file allocation tables) which can be a tricky business. Even writing raw data is problematical as there are many different types of SD card which behave differently. If you search the internet you will find that SD card read/write is poorly documented as the SD format is proprietary.

     
  • Steve Scott

    Steve Scott - 2023-09-23

    Hello-
    I am new to GCB but am working with an ILI9342 which also has a SD card slot.
    Any movement in this area?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.