Hey everyone I have a 14x14 matrix of neopixels,

Hey everyone I have a 14x14 matrix of neopixels, and was wondering how i can display static images on it from a bitmap. Im controlling it through and Adafruit Feather.

FastLED matrix library together with the sprites library could be an option.
https://github.com/AaronLiddiment/LEDMatrix
https://github.com/AaronLiddiment/LEDSprites

@Chirayu_Jain What have you tried? Where are you having difficulties?

If you use Photoshop (or something similar) and scale your image to 14x14 pixels then it can be processed by a C++ script, Python script, or an online converter to RGB data. That data can be saved as an array and read into the LEDs.

Here’s two online converters (choose RGB output):
http://www.sciweavers.org/free-online-image-converter
https://convertio.co/bmp-rgb/

Attached is a blown up version of a 14x14 .bmp file I converted. I put red, green, blue, etc in the first few pixels of this example so it’s easy to check the output, which looks like this:
https://gist.github.com/marmilicious/471e4f166662b5ba8bc553586c727331

ff00 0000 ff00 0000 ffff 00ff 00ff ffff
ff00 0000 00ff ffff a0a0 a480 8080 8080
8080 8080 8080 8080 8080 a0a0 a4a0 a0a4

It looks a bit strange due to how it’s formatted, but every 6 characters make up the data (in hex) for a pixel. So “ff00 00” (red), then “00 ff00” (green), “0000 ff” (blue), “ff 00ff” (purple)

These can be directly assigned to a pixel as:
leds[i] = 0xFF0000;

[ Bonus points if you can recognize who’s in my image. ]
missing/deleted image from Google+

@marmil
In the sprites folder is a tool included that can convert the data into c++ code :wink:

Yes, using custom code to generate the data is better as you can format the output exactly to what you need. :slight_smile: