Giter Club home page Giter Club logo

Comments (4)

AndresBellero74 avatar AndresBellero74 commented on May 30, 2024 1

Thank you very much for the answer, I installed the pico core and the problem was solved. I already read the SD now I have to see how to make the BMP visualize me but it is with another library.
It served me a lot.
sorry for not giving you more info.
I still can't see the bmp but I rescue the attributes, which is a problem with my program that reads the BMP file.
Regards.
WhatsApp Image 2021-11-09 at 22 20 10

from rp2040_sd.

khoih-prog avatar khoih-prog commented on May 30, 2024

Your question is too vague: no core, no board. I don't think I'll answer this type of question next time

Anyway, check RASPBERRY_PI_PICO pins_arduino.h#L44-L48 and see ArduinoCore-mbed core only support 1 SPI

// SPI
#define PIN_SPI_MISO  (4u)
#define PIN_SPI_MOSI  (3u)
#define PIN_SPI_SCK   (2u)
#define PIN_SPI_SS    (5u)

while as in rpipico pins_arduino.h#L17-L26, arduino-pico core can support 2 SPIs

// SPI
#define PIN_SPI0_MISO  (16u)
#define PIN_SPI0_MOSI  (19u)
#define PIN_SPI0_SCK   (18u)
#define PIN_SPI0_SS    (17u)

#define PIN_SPI1_MISO  (12u)
#define PIN_SPI1_MOSI  (15u)
#define PIN_SPI1_SCK   (14u)
#define PIN_SPI1_SS    (13u)

In order to use something special and custom, it requires some more research, even some modifications done by yourself.


Moreover, check Library's Features

This library was created as an effort to use SD Card while the arduino-pico core still has issue SD card FILE_WRITE issue #214, which has been fixed from core v1.8.6.

It's better to use the built-in SD library for Earle Philhower's arduino-pico core v1.8.6+.

But if you need to write codes to be used in both Arduino-mbed RP2040 core and Earle Philhower's arduino-pico core without having to modify the code, you can have the option to use this library.

from rp2040_sd.

khoih-prog avatar khoih-prog commented on May 30, 2024

I'm glad you've solved the issue and appreciate you post the good result / experience, which will also help many other users

Regards,

from rp2040_sd.

AndresBellero74 avatar AndresBellero74 commented on May 30, 2024

Thanks to your help and the author of the tft_espi library for the raspberry pico I was able to play BMP files with the SD and on the 3.5 "display of the raspberry pi.
I'll pass it to you in case anyone is interested.
This is the project link:
https://github.com/AndresBellero74/Raspberry-PI-PICO-display-RPI35
Regards.

from rp2040_sd.

Related Issues (7)

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.