Code Monkey home page Code Monkey logo

Comments (5)

GregDMeyer avatar GregDMeyer commented on August 12, 2024

there is a weird issue where in some cases if you run the waveshare code first, it causes this code to break. can you trying running the code in my repo right after rebooting the pi, and see if it works? good luck!

from papertty.

GregDMeyer avatar GregDMeyer commented on August 12, 2024

(you can try running this one too, I just haven't looked at it in a while and I'm not sure how synced up we are any more)

from papertty.

joukos avatar joukos commented on August 12, 2024

I have the 6" HD too and it has worked okay, though I haven't had time to play with it for some time. There were some initial problems where I had a power cable running on top of the flat flex and that seemed to disrupt the operation somehow... not 100% sure though if that actually was the case, but after some reorganizing it just worked.

there is a weird issue where in some cases if you run the waveshare code first, it causes this code to break

If this is the case, maybe there's something that could be improved in the initialization of the display...

from papertty.

bofh avatar bofh commented on August 12, 2024

Looks like this is the case, indeed. After clean reboot both versions work, after running Waveshare code initialization fails!

from papertty.

GregDMeyer avatar GregDMeyer commented on August 12, 2024

glad its working! @joukos , yeah I'm not sure how it could be fixed. it seems that if you use the bcm2835 library to handle the SPI, the kernel no longer can control the SPI (my library talks to SPI thru the kernel now, not sure if this repo has been updated following that change a few months ago). I'm not sure if there's a way to give SPI back to the kernel without rebooting. if anyone knows the answer it would be great!

from papertty.

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.