Git Product home page Git Product logo

arduino's Introduction

Arduino Sketch Folder

Sketches

Libraries

  • arduino/libraries/Adafruit_BMP085 BMP085 Barometer/Thermometer library from Adafruit
  • arduino/libraries/Adafruit_GFX 1.8 Color TFT Graphics library from Adafruit
  • arduino/libraries/Adafruit_GPS Ultimate GPS Shield library from Adafruit
  • arduino/libraries/Adafruit_ST7735 1.8 Color TFT Driver library from Adafruit
  • arduino/libraries/ADXL345 ADXL345 Accelerometer library
  • arduino/libraries/MAX6675 Thermocouple library
  • arduino/libraries/RTClib DS1307 real time clock library
  • arduino/libraries/SD SD card library from Adafruit
  • arduino/libraries/TinyGPS Generic Serial GPS library
  • arduino/libraries/PID_v1 PID library (Error Calc)

arduino's People

Contributors

landis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduino's Issues

Usage of Wire.requestFrom() and local scope of buffer.

Hi, that code by loveelectronics.co.uk (it does not exist anymore) has sadly a bug.

The Wire.beginTransmission() and Wire.endTransmission() should not be used with Wire.requestFrom(). They are only used when writing data.
In the file "arduino/libraries/love_ADXL345/love_ADXL345.cpp" in the function Read(), those are used around the Wire.requestFrom(), those Wire.beginTransmission() and Wire.endTransmission() can be removed.

In the function Read(), the buffer is created on the stack, and a pointer to that buffer is returned. That is a bug. The scope of that buffer is only inside the function. As soon as the function returns, that buffer is no longer valid.

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.