Coder Social home page Coder Social logo

ncd-red-mcp4728's Introduction

This library provides a class for the mcp4728, it relies on the ncd-red-comm library for communication, and includes a node-red node for the mcp4728. The mcp4728 is a quad, 12-bit voltage output Digital-to-Analog Convertor (DAC) with nonvolatile memory (EEPROM). Ncd.io is in the process of releasing multiple boards that utilize this chip for different applications. When they become available, you will be able to see a list here.

Installation

This library can be installed with npm with the following command:

npm install ncd-red-mcp4728

For use in node-red, use the same command, but inside of your node-red directory (usually ~./node-red).

Usage

The test.js file included in this library contains basic examples for use. All of the available configurations are available in the node-red node through the UI.

Raspberry Pi Notes

If you intend to use this on the Raspberry Pi, you must ensure that:

  1. I2C is enabled (there are plenty of tutorials on this that differ based on the Pi version.)
  2. Node, NPM, and Node-red should be updated to the latest stable versions. If you skip this step the ncd-red-comm dependency may not load properly.

ncd-red-mcp4728's People

Contributors

zaphod-42 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ncd-red-mcp4728's Issues

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.