STMPE610 touch sensor driver library
Dependents: TS_Eyes Tokei testUniGraphic_150217 AfficheurTFTAdafruit ... more
Diff: SPI_STMPE610.cpp
- Revision:
- 13:09fece599665
- Parent:
- 10:dc5912872d41
- Child:
- 14:6740dfc84a8c
--- a/SPI_STMPE610.cpp Wed Nov 25 11:44:15 2015 +0000 +++ b/SPI_STMPE610.cpp Thu Nov 26 00:38:55 2015 +0000 @@ -138,7 +138,7 @@ m_cs = 0 ; _mode = 0 ; m_spi.frequency(1000000) ; -#if defined (TARGET_NUCLEO_F411RE) +#if defined (TARGET_NUCLEO_F411RE) || defined (TARGET_KL46Z) m_spi.format(8, 1) ; /* works with st nucleo F411RE */ #else m_spi.format(8, 0) ; /* works with freescale FRDMs */