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

@ -32,7 +32,7 @@
using namespace upm;
ECS1030::ECS1030 (uint8_t pinNumber) {
ECS1030::ECS1030 (int pinNumber) {
m_dataPinCtx = mraa_aio_init(pinNumber);
if (m_dataPinCtx == NULL) {
throw std::invalid_argument(std::string(__FUNCTION__) +

View File

@ -83,7 +83,7 @@ class ECS1030 {
*
* @param pinNumber Number of the data pin
*/
ECS1030 (uint8_t pinNumber);
ECS1030 (int pinNumber);
/**
* ECS1030 object destructor; basically, it closes the GPIO.