Git Product home page Git Product logo

max6675-library's Introduction

MAX6675 Arduino Library

Version: 2.0.1

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Summary

The primary use of the library is to easily interface with a MAX6675 chip via it's SPI interface. Use the following code to initialize the library. V2 also greatly improves performance and timing of the chip for more accurate reads. Thanks Ed!

MAX6675 temp0(CS,SO,SCK,units);

Variables:

  • CS is chip select pin of chip
  • SO is data out of the chip
  • SCK is the clock pin of the chip
  • units is one of the following:
    • 0 = raw 0-4095 value
    • 1 = temp in ˚C
    • 2 = temp in ˚F

Following this you can use the read_temp() function to return the temperature as a float.

temperature = temp0.read_temp();

max6675-library's People

Contributors

anengineerdude avatar lsaavedr avatar

Watchers

James Cloos avatar  avatar

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.