Skip to content

Releases: CamelCaseName/HUB75nano

more character functions, faster and flash output added

14 Aug 16:01
d303c2d
Compare
Choose a tag to compare

What's Changed

  • Dev/contribution by @itsaps in #16
  • fixes and improvements merged form HUB75Enano library

Full Changelog: 2.0.1...2.1.0

Now also on library manager

26 Apr 19:54
598d97b
Compare
Choose a tag to compare

shuffled folders and fixed version number so it is Arduino library manager compliant
Full Changelog: 2.0...2.0.1

improved version with SUPER SPEED

13 Feb 17:15
3a62eca
Compare
Choose a tag to compare

OK, so after like 2 years I did enough to gratify a new version. THIS HAS BREAKING CHANGES TO API AND PINS!

What this happened in this update:

The breaking changes are not minor, but believe me that upgrading is worth it. Through some nice pointer arithmetic and illegal casts we are now able to bitbang the buffer to the screen at nearly 600 fps(~590)! This also enables 4bit of color depth in immediate mode. You can change the maximum colordepth in the header file.
Also I implemented a nicer circle, ellipse and line drawing algorithm based on the Bresenham algorithm group. The pins used have also been streamlined so they could possibly be using hardware PWM in the future !breaking change!. Font rounding on bigger scales is planned, also some tests with smaller panels are needed to confirm that they do also work. I only tested against 32x64 Panels. The pic2led.exe has been removed as it is currently not compatible, but I am working on a new version. The API has been reworked to be more consistent !breaking change!. I suggest you don't rely on direct member access as that will probably removed soon, so only use methods from now on.

If you encounter issues setting the #defines, please set them in the header file directly. You'll see a section at the top where you can put them.

Future plans:

Add option for a Color look up table (CLUT) so you can use the 3but buffer but display colors that would need a 2 or more bit buffer. Rounding on scaled fonts so they don't look as blocky anymore.
Antialiasing on drawn shapes as an option.
Triangle drawing.
Verified support for smaller panels.
Rebuild the pic2led (BMP2HUB75) tool to work with new buffer layout.
Allow the new pic2led (BMP2HUB75) to generate the output code directly.
Option to store and load buffers from flash memory.

TLDR:

  • highspeed output at nearly 600fps from a static image, 2bit per color channel (rgb)
  • 32x64, 6bit (2r2g2b) image buffer, or one/two 32x64 3bit (1r1g1b) image buffer(s)
  • 4bit color depth in immediate mode
  • reduced memory consumption by about 500bytes
  • nicer and more consistent API
  • better color conversion and more consistent at that
  • faster circle drawing
  • better line drawing
  • added ellipsis drawing
  • more futureproof pin use
  • added pin chart for using a 16pin flatband cable