Coder Social home page Coder Social logo

Comments (13)

fdivitto avatar fdivitto commented on May 19, 2024

Hi,
please add details. Which board are you using, which pins are connected to the SD Card?

from fabgl.

Kaef avatar Kaef commented on May 19, 2024

I'm using a TTGO-T8 board, sdcard pins are:
CS - IO13
MOSI - IO15
SCK - IO 14
MISO - IO2
sdcard is working if I don't use FabGL. When using FabGL the card can not be mounted.

from fabgl.

fdivitto avatar fdivitto commented on May 19, 2024

IO15 is used for VSync

from fabgl.

Kaef avatar Kaef commented on May 19, 2024

Sorry, missing info.
I use:
#include <fabgl.h>
fabgl::VGAController VGAController;
fabgl::PS2Controller PS2Controller;
fabgl::Terminal Terminal;

and in setup() I call:
VGAController.begin(GPIO_NUM_25, GPIO_NUM_26, GPIO_NUM_27, GPIO_NUM_5, GPIO_NUM_23);

from fabgl.

fdivitto avatar fdivitto commented on May 19, 2024

is this the board are you using?
https://www.aliexpress.com/item/32911178069.html

If so, I should have one to test.

from fabgl.

Kaef avatar Kaef commented on May 19, 2024

yes, nearly; on my board "T8 V 1.7.1, 20190702" is printed
https://www.aliexpress.com/item/32851423415.html

from fabgl.

Kaef avatar Kaef commented on May 19, 2024

Do you have tested another esp32 board using FabGL and sdcard?

from fabgl.

fdivitto avatar fdivitto commented on May 19, 2024

Just the prototypes of my board:
https://www.tindie.com/products/fabgl/fabgl-development-board/

from fabgl.

Kaef avatar Kaef commented on May 19, 2024

Which pins do you use for sdcard?

from fabgl.

fdivitto avatar fdivitto commented on May 19, 2024

The fabgl defaults. They are listed here:

https://github.com/fdivitto/FabGL/blob/master/fabgl%20GPIOs%20assignment.txt

from fabgl.

Kaef avatar Kaef commented on May 19, 2024

Thank you very much, I try using the pins you have used and will report if it works.

from fabgl.

Kaef avatar Kaef commented on May 19, 2024

I can confirm that using the fabgl defaults the sdcard is working.
When using my gpio definitions my test program is also working fine. So I think the problem is in my code, sorry.

from fabgl.

Kaef avatar Kaef commented on May 19, 2024

Problem solved!
Mounting the sdcard failed because free memory was too low, reducing the FabGl resolutions solves the problem.

from fabgl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.