[TUT]Extension to Adafruit_GFX_Button capabilities allowing for colorful bitmap based buttons.

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This is the release of the class that extends the capability of screen buttons. The class is very similar in usage to Adafruit_GFX_Button. Except its initialization rest of the usage is seemles to the Adafruit's. Class allows for displaying buttons from uint8_t masks with defined rgb565 color, or it can display uint16_t bitmaps as buttons(with masks or without). Together with the class comes .cpp tool for exporting mask and bitmap arrays from .bmp files on usual PC.

Video tutorial is in here: https://youtu.be/kV8oMMXbzSM

Github files: https://github.com/63n0m3/Custom...

In the files there is also an example explained in video and documentation.

Feel free to ask questions.

Last Edited: Fri. Nov 12, 2021 - 12:17 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have bundled it into the Adafruit_GFX and created a pull request. Naming and usage stays the same, except different name of the class:

https://github.com/adafruit/Adaf...