Git Product home page Git Product logo

boxqt's People

Contributors

achicken7301 avatar triet-do avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

danhyyr

boxqt's Issues

SparkFun LIS331 library not compatible with ESP32 library

https://forum.arduino.cc/t/sparkfun-lis331-library-not-compatible-with-esp32-library/621758
HOW TO FIX:
The problem is a name conflict between the OPEN_DRAIN macro defined in the ESP32 core library and the enum of the same name defined in the Sparkfun_LIS331 library.

To fix it, modify the library to use a unique name, following these instructions:

Open C:\Users\Johann\Documents\Arduino\libraries\SparkFun_LIS331\src/SparkFun_LIS331.h in a text editor.
Change line 39 from:
typedef enum {PUSH_PULL, OPEN_DRAIN} pp_od;
to:
typedef enum {PUSH_PULL, SPARKFUN_LIS331_OPEN_DRAIN} pp_od;
Save the file.
Open C:\Users\Johann\Documents\Arduino\libraries\SparkFun_LIS331\src/SparkFun_LIS331.cpp in a text editor.
Change line 39 from:
if (_pinMode == OPEN_DRAIN)
to:
if (_pinMode == SPARKFUN_LIS331_OPEN_DRAIN)
Save the file.

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.