Skip to content

v2.1.0 Added capabilities for unusual display wirings and Bugs corrections for Atmel mcu's

Choose a tag to compare

@GabyGold67 GabyGold67 released this 21 Jan 11:06
· 15 commits to master since this release

Bugs correction:

_ In 8 bits Atmel based boards (Arduino Uno and other ATmega based boards) an int stores a 16-bit (2-byte) value. This yields a range of -32,768 to 32,767, and so the library couldn't correctly represent more than 4 digits, as 99.999 is beyond the range. The restriction was eliminated by calculating displayable values as long integers, and modifying all methods accordingly and transparently. The limit had no effect on other mcus based boards.

New methods and capabilities:

_ Some displays tested show there's not a unique (simple and logical) wiring criteria used to build the displays, some use the LSb of the register to manage the first digit from right to left (very intuitive), some use the LSb to manage the first digit from left to right (not as intuitive but reasonable) and some use alternative options, some of them awkward which makes the representation reordering an extra load (the popular DM "DIY MORE" (R) 8 digits display is a good example). This new version adds the possibility to map the order of the display ports on any display, settable through the .setDigitsOrder() method.

Examples:

_ Examples were added to show the support for different display lenghts up to 8 digits/ports
_ Examples were added to show the new capabilities to change the order of the display wired ports