Releases: teddokano/LEDDriver_NXP_Arduino
1.0.2
Fix of issue 3
_LED
class added to avoid conflict with compiling MightyCore. The class name LED
conflicts with a global variable. To avoid this, a class derived from LED
to let have different name.
The usage of _LED
class is just same as LED
.
Sample code is available in examples/concept_examples/abstracting_LEDs_in_MightyCore.
1.0.1
1.0.0
0.5.4
0.5.3
0.5.2
0.5.1
Gradation control class interface updated to set/clear Hold_ON
and Hold_OFF
bits. Thank you for your suggestion and contribution, @Flashmueller 😀
Adapting to I2C_device 0.4.0 feature
I2C_device library release 0.4.0 have a feature of selecting TwoWire instance other than Wire
.
From this release, this library can access to the temperature sensor devices on different I²C bus.
To use Wire
instance, the interface kept compatibility to previous version. To make an instance of the device, it can be declared like..
#include <PCA9955B.h>
PCA9955B ledd;
#include <PCA9955B.h>
PCA9955B ledd( 0x5F ); // I²C target address is 0x5F
If the device is connected on different I²C bus, it needs to use different TwoWire instance.
In such case, use this new feature :)
#include < PCA9955B.h.h>
PCA9955B.h ledd( Wire1, 0x5F ); // Choosing Wire1 and I²C target address is 0x5F
void setup() {
Wire1.begin(); // Needs to call "begin()" in Wire1
..