You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't used this library for some time, and I don't have an arduino to test so best of luck!
Add:
#include "Arduino.h"
#include "Wire.h"
instead of:
#include "Particle.h"
#include "application.h"
in dali_master.h
Then you'll have to remove Wire.setSpeed() in dali_master.cpp and any reference to Wire.reset(). Making these changes allows it to compile, but I can't test any further than that.
Please submit a PR when you have a solution for others!
Thanks by reply, I removed Wire.setSpeed() Wire.reset() and finally compiled it, . Going to next step example "initialise" didn't work. Looking for workaround I tried to confirm my led-warrior-14 works and with this sample code https://forum.codemercs.com/viewtopic.php?t=1970 I have got a blinking effect, so conections and led warrior are fine. I think your library I is very well done, has bus state checking and it is necessary to work with bus dali, so still analyzing the issue that blocks the example code. stops on clearStatusRegister() I don't know why I obtain always in getstatus() the code 33 so program get halted on it because it detects that bus is not idle(00) at any time
error: 'Wire' was not declared in this scope byte1 = Wire.read();
error: 'Wire' was not declared in this scope Wire.reset();
please what wire library do you use, standard arduino wire.h has not for example wire.reset or wire.speed
The text was updated successfully, but these errors were encountered: