firmata: extended data types on pins to allow subplatform usage

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu
2016-12-08 15:10:36 -08:00
parent 130cb822e4
commit dfc7a710d4
34 changed files with 44 additions and 44 deletions

View File

@ -37,7 +37,7 @@
using namespace upm;
ILI9341::ILI9341(uint8_t csLCD, uint8_t csSD, uint8_t dc, uint8_t rst) :
ILI9341::ILI9341(int csLCD, int csSD, int dc, int rst) :
GFX(ILI9341_TFTWIDTH, ILI9341_TFTHEIGHT), m_csLCDPinCtx(csLCD),
m_csSDPinCtx(csSD), m_dcPinCtx(dc), m_rstPinCtx(rst), m_spi(0) {

View File

@ -159,7 +159,7 @@ namespace upm {
* @param dc Data/command pin
* @param rst Reset pin
*/
ILI9341(uint8_t csLCD, uint8_t csSD, uint8_t dc, uint8_t rst);
ILI9341(int csLCD, int csSD, int dc, int rst);
/**
* Returns the name of the component