PaulStoffregen / LedDisplay

Print text to an Avago HCMS-29xx LED display
http://www.arduino.cc/playground/Main/LedDisplay
20 stars 13 forks source link

Update for compiling for Linux #5

Open smvoss-collins opened 5 years ago

smvoss-collins commented 5 years ago

Description

With a few changes, it would be possible to use this code from Linux as well, namely by changing how the I/O is being done by overloading digitalWrite (GPIO Write) and ShiftOut (SPI Write).

With this, it would be possible to write a wrapper around this library when using Linux which would allow it to be built as a shared library. This opens the possibility of linking against the library (through the wrapper) which would allow using with proprietary code.

Let me know what you think