Giter VIP home page Giter VIP logo

Comments (7)

ladyada avatar ladyada commented on August 23, 2024

added support ifdefs will be released in 1.3.1 - dont' have hardware to test with but it does compile!

from adafruit_busio.

JasXSL avatar JasXSL commented on August 23, 2024

Thanks :)

Using it with the LIS3DH library doesn't want to compile tho, both cloned from git just now. Want me to open an issue over there?

\Arduino\libraries\Adafruit_LIS3DH\Adafruit_LIS3DH.cpp:107:52: error: no matching function for call to 'Adafruit_SPIDevice(int8_t&, long int, int, SPI_MODE_enum, SPIClass*&)'

                                        SPIinterface);
\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:43:3: note: candidate: Adafruit_SPIDevice::Adafruit_SPIDevice(int8_t, int8_t, int8_t, int8_t, uint32_t, BitOrder, uint8_t) 

   Adafruit_SPIDevice(int8_t cspin, int8_t sck, int8_t miso, int8_t mosi,

\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:43:3: note:   conversion of argument 5 would be ill-formed:

Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:39:3: note: candidate: Adafruit_SPIDevice::Adafruit_SPIDevice(int8_t, uint32_t, BitOrder, uint8_t, SPIClass*) 

   Adafruit_SPIDevice(int8_t cspin, uint32_t freq = 1000000,

from adafruit_busio.

ladyada avatar ladyada commented on August 23, 2024

please post the screenshot of your tools menu

from adafruit_busio.

JasXSL avatar JasXSL commented on August 23, 2024

tools

from adafruit_busio.

ladyada avatar ladyada commented on August 23, 2024

ok try the latest push of busio

from adafruit_busio.

JasXSL avatar JasXSL commented on August 23, 2024

It compiles! However, the interrupts are still broken, want me to make an issue on the LIS3DH repo for that?

from adafruit_busio.

ladyada avatar ladyada commented on August 23, 2024

yes - include the exact test program to reproduce the issue as you did here thanx!

from adafruit_busio.

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.