projectwerk
Dependencies: NeoPixelString SimplyLog
Fork of NeoPixelI2cSlave by
Diff: neopixel_i2c_daemon.h
- Revision:
- 2:e0269262d1f2
- Parent:
- 0:3a31c84ed525
- Child:
- 3:02931c2b1e82
diff -r a93d16b04770 -r e0269262d1f2 neopixel_i2c_daemon.h --- a/neopixel_i2c_daemon.h Sun Oct 25 11:27:26 2015 +0000 +++ b/neopixel_i2c_daemon.h Sun Oct 25 11:36:21 2015 +0000 @@ -11,9 +11,11 @@ private: I2cDevice * i2c; std::vector<NeoPixelString *> pixelstrings; + int cAlive; // Counter for alive led + DigitalOut alive; public: - NeoPixelI2cDaemon(I2cDevice * i2c); + NeoPixelI2cDaemon(I2cDevice * i2c, PinName alive_pin); public: void attachPixelString(NeoPixelString * pixelstring);