Coder Social home page Coder Social logo

addr7segment's Introduction

Addressable 7-Segment Displays

An API that lets you display numbers and letters on Addr7Segment LED displays that are available from PCBway This board uses 3 x WS2811 IC to control the segments of the segmented display. This means they can be daisy chained and controlled with just a single data line.

You can find the Open Source hardware PCB design and Gerber files here

Installing and Use

The downloaded code should be added to your arduino IDE libraries folder, and the library requires the Adafruit NeoPixel library for it to function.

To include the Addr7Segment library in your project:

#include <Addr7Segment.h>

You can then initialise the display with the following line that includes the number of Neo7Segment digits and the GPIO to control them:

#define DIGITS       5   // Number of digits
#define PIN          4   // Pin number

// Initalise the display with 5 Addr7Segment boards connected to GPIO 4
Addr7Segment disp( DIGITS, PIN );

You then start the display with the begin method, passing the brightness [0%-100%]:

disp.Begin(20);

The you simply pass the display the String you would like displayed and a brigtness [0%-100%]:

disp.DisplayText( "1234", 20 );

Check out the video! - Click the Image

Addressable 7-Segment Display Video

Order the PCB from PCBWay Here: http://bit.ly/addr7segpcb

addr7segment's People

Contributors

seanhodgins avatar supremesports 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.