WLED/usermods/EleksTube_IPS
Henry Gabryjelski 1d4487b6cd
Ethernet configuration fix, improve PinManager (#2123)
* Improved pin manager, ethernet config

* Ethernet is configured prior even to LED pins
* Pin Manager allocation / deallocation functions
   now take an "ownership" tag parameter, helping
   avoid accidentally free'ing pins that were allocated
   by other code
* Pin Manager now has ability to allocate multiple
  pins at once; Simplifies error handling

* Fix operator precedence error

Bitwise AND has lower precedence than the
relational "greater than" operator.

* PinManager update for some user modules

* don't build everything...

* Final step to reduce RAM overhead

* update comment

* remove macros

* Remove leftover allocated

* Init ethernet after settings saved

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-08-23 14:14:48 +02:00
..
ChipSelect.h
Hardware.h
TFTs.h
User_Setup.h
readme.md
usermod_elekstube_ips.h

readme.md

EleksTube IPS Clock usermod

This usermod allows WLED to run on the EleksTube IPS clock. It enables running all WLED effects on the background SK6812 lighting, while displaying digit bitmaps on the 6 IPS screens. Code is largely based on https://github.com/SmittyHalibut/EleksTubeHAX by Mark Smith!

Supported:

  • Display with custom bitmaps or raw RGB565 images (.bin) from filesystem
  • Background lighting
  • Power button
  • RTC (with RTC usermod)
  • Standard WLED time features (NTP, DST, timezones)

Not supported:

  • 3 navigation buttons, on-device setup

Your images must be exactly 135 pixels wide and 1-240 pixels high.

Installation

Compile and upload to clock using the elekstube_ips PlatformIO environment Once uploaded (the clock can be flashed like any ESP32 module), go to [WLED-IP]/edit and upload the 0-9.bin files from here. You can find more clockfaces in the NixieThemes repo. Use LED pin 12, relay pin 27 and button pin 34.

Use of RGB565 images

Binary 16-bit per pixel RGB565 format .bin images are now supported. This has the benefit of only using 2/3rds of the file size a .bmp has. The drawback is that this format cannot be handled by common image programs and that an extra conversion step is needed. You can use https://lvgl.io/tools/imageconverter to convert your .bmp to a .bin file (settings True color and Binary RGB565) Thank you to @RedNax67 for adding .bin support.