Giter VIP home page Giter VIP logo

laser7segment's Introduction

Laser7Segment Display Library

An API that lets you display numbers and letters on Laser7Segment RGB LED displays that are available from tindie

You can find the Open Source hardware PCB design and Gerber files here too as well as the DXF laser cut design files

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 Laser7Segment library in your project:

#include <Laser7Segment.h>

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

Laser7Segment disp( 5, 4 );

You then start the display with the bebin method, passing the brightness:

disp.Begin(80);

The you simply pass the display the String you would like displayed and a color:

disp.DisplayText( "1234", disp.Color( 255,0,0) );

Enjoy!

Support Unexpected Maker

I love designing, making and releasing our projects as open source. I do it because I believe it’s important to share knowledge and give back to the community, like many have done before me. It helps us all learn and grow.

That said, a lot of time, effort and finances have gone into designing and releasing these files, so please consider supporting me by buy some of my TiinyPICO products:

https://tinypico.com/shop

Or by buying one of our products on tindie:

https://www.tindie.com/stores/seonr/

Or by becoming a Patron:

https://www.patreon.com/unexpectedmaker

Unexpected Maker

http://youtube.com/c/unexpectedmaker

http://twitter.com/unexpectedmaker

https://www.facebook.com/unexpectedmaker/

https://www.instagram.com/unexpectedmaker/

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.