mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
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:
@ -32,7 +32,7 @@
|
||||
|
||||
using namespace upm;
|
||||
|
||||
LPD8806::LPD8806 (uint16_t pixelCount, uint8_t csn) :m_spi(0), m_csnPinCtx(csn) {
|
||||
LPD8806::LPD8806 (uint16_t pixelCount, int csn) :m_spi(0), m_csnPinCtx(csn) {
|
||||
mraa::Result error = mraa::SUCCESS;
|
||||
m_name = "LPD8806";
|
||||
|
||||
|
@ -65,7 +65,7 @@ class LPD8806 {
|
||||
* @param pixelCount Number of pixels in the strip
|
||||
* @param csn Chip select pin
|
||||
*/
|
||||
LPD8806 (uint16_t pixelCount, uint8_t csn);
|
||||
LPD8806 (uint16_t pixelCount, int csn);
|
||||
|
||||
/**
|
||||
* LPD8806 object destructor; basically, it frees the allocated
|
||||
|
Reference in New Issue
Block a user