Permalink
Browse files

Update master

  • Loading branch information...
1 parent 005072d commit f79a0763e3dbced10da13fcab914f514b220a02c @neophob committed Jun 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -69,7 +69,7 @@ Hint: if you're using eclipse and you see an error like this
make sure you add the lib/serial directory as "Native library location"
## 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). 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.
+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!

0 comments on commit f79a076

Please sign in to comment.