Code Monkey home page Code Monkey logo

fourbitleddigitaltube's People

Contributors

gabygold67 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

fourbitleddigitaltube's Issues

Add .getMinBlinkRate() and .getMaxBlinkRate()

Add the methods needed to validate the limits for the .setBlinkRate() method. For security reasons the minimum and maximum blinking rates might be kept as constants (or not), but a way of knowing those values must be provided to the developers.

Left aligned negative integer numbers fail

The negative numbers fail to print to the display when they are left aligned.
The error doesn't affect the display when the negative numbers are right aligned, not standard (space) paded, nor zero padded

Add header to the examples

Add the correspondent header to the sample files to comply to the Arduino Style Guide for creating Libraries

Display incomplete in multi-display setups

When using more than one display at the same time each one shows some of the digits, while the others show some other, seems that each one have the digits the others don't

Add a second (optional) parameter to .setBlinkRate()

To keep a coherent design pattern, if changes proposed in issue #6 are implemented, the .setBlinkRate() method must include a second optional parameter for the timeOff time of the assymmetrical blinking pattern.
The lack of the second parameter forces a design decision:

  • The timeOff time is kept with no changes.
  • The timeOff must be equaled to the timeOn, ensuring a symmetrical blink.

A possible decision could be based on the timeOn and timeOff values previous to the .setBlinkRate() call, if they where equal, the lack of second parameter would suggest keeping the symmetrical scheme, while the different timeOn and timeOff values would suggest the lack of the second parameter to be an indication of just changing the timeOn value.

Add an option to call .blink() with a selected blinking speed

In the current implementation the .blink() method accepts no arguments, the blinking starts to a prefixed speed and must be immeditely modified if it doesn't satisfy the required speed.
An optional parameter must be added giving the opportunity to start off with the right speed, without the need of the immediate speed change. As it will be optional, old implementations using the no parameters version won't be affected.

print(int) method bad formatting

When working with negative numbers, setting the right align option and padding, the result displayed is wrong formatted, the padding chars must be placed between the digits and the '-' sign

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.