Add the pifacecad connection type to hd44780 driver (by Thomas Preston). This

is for the PiFace Contral And Display device from http://www.piface.org.uk/.
This commit is contained in:
mmdolze
2014-02-10 07:04:01 +00:00
parent a8d9504a3c
commit 417ce0555f
9 changed files with 432 additions and 3 deletions
+2
View File
@@ -35,6 +35,7 @@
#endif
#ifdef HAVE_SPI
# include "hd44780-spi.h"
# include "hd44780-pifacecad.h"
#endif
#ifdef WITH_ETHLCD
# include "hd44780-ethlcd.h"
@@ -88,6 +89,7 @@ static const ConnectionMapping connectionMapping[] = {
#endif
#ifdef HAVE_SPI
{ "spi", HD44780_CT_SPI, IF_TYPE_SPI, hd_init_spi },
{ "pifacecad", HD44780_CT_PIFACECAD, IF_TYPE_SPI, hd_init_pifacecad },
#endif
/* TCP socket connection types */
#ifdef WITH_ETHLCD