## ADD NEW HARDWARE SUPPORT
It should be pretty simple to add support for new hardware. All Output code should go into the com.neophob.sematrix.output package (`src/main/java/com/neophob/sematrix/output` directory). All you need to do in the Output class is, take an array of int's (one int is used to store the 24 bpp) and send this buffer to your output device (via serial port, ethernet, bluetooth...). Maybe you need to reduce the color depth, flip each second scanline due hardware wiring, such helper methods should go into the `OutputHelper.java` class.
As a string point, add your hardware in the `OutputDeviceEnum.java` class and have a look where the other entries are referenced. **Take a look at the existing Output classes**, this should help you!
OutputHelper.java
/**
* Convert buffer to15bit.
*
* @param data
* the data
* @param colorFormat
* the color format
* @return the byte[]
* @throws IllegalArgumentException
* the illegal argument exception
*/
looks like maybe pixelcontroller can be rebuilt with 15bit (5bpp) ... or at least an new output with 5 bpp support ... it doesn't look like glediator or jinx can be used in 5 bpp mode ... maybe I can move the to15bit() code to the driver ... hopfully with better results than what is used now ...
https://github.com/sfranzyshen/esp8266_tpm2net_lpd6803
Hey GengusKahn & folny82 ... up for testing??
but the good news is the STM32F1 boards are cheap , they have 10x the amount of sram of the arduino, and porting of the FastLED library has begun ... so for now ... just a simple arduino 256 pixel tpm2net gateway ... future plans ... STM32F1