Giter Club home page Giter Club logo

Comments (5)

AKEOPLUS-boris-bocquet avatar AKEOPLUS-boris-bocquet commented on June 18, 2024

Hi Wildra,

good to ear that you are keen to use this code.

Which version of BCM2835 are you using? On the version I tried (1.55) and in the current version (1.56) the signature of bcm2835_spi_begin() is correct.
http://www.airspayce.com/mikem/bcm2835/group__spi.html

from raspberrypi-adc-dac.

wildra avatar wildra commented on June 18, 2024

Hi,

thats a quick response! :)

I did use version 1.45.
Somehow, my board is not working with versions 1.55 & 1.56.
Installed V1.50 now and all of a sudden, it worked!

Many Thanks for your work and help!

from raspberrypi-adc-dac.

AKEOPLUS-boris-bocquet avatar AKEOPLUS-boris-bocquet commented on June 18, 2024

Good to know. Please star the project if you like it. And if you want, you can propose some improvements in the code (e.g. pull request or email / message as you want).
Boris

from raspberrypi-adc-dac.

AKEOPLUS-boris-bocquet avatar AKEOPLUS-boris-bocquet commented on June 18, 2024

I added a remark in the README.MD :

Remarks : tested with version 1.55. It looks like it is not compiling with versions < 1.50 because bcm2835_spi_begin() changed its signature.

from raspberrypi-adc-dac.

AKEOPLUS-boris-bocquet avatar AKEOPLUS-boris-bocquet commented on June 18, 2024

Dear Wildra,
indeed my code was not working properly with bcm V1.56. Because Mike finnally implemented the bit order : previously, there were no code behind meaning that now it matters if you call this function. This is corrected on current revision 22e4ecd . Maybe you should give a try.
Kind Regards.
Boris

from raspberrypi-adc-dac.

Related Issues (2)

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.