Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full support for Arilux AL-LC02 #347

Closed
xoseperez opened this issue Dec 29, 2017 · 6 comments
Closed

Full support for Arilux AL-LC02 #347

xoseperez opened this issue Dec 29, 2017 · 6 comments
Labels
enhancement New feature or request major

Comments

@xoseperez
Copy link
Owner

Originally reported by: Crispin (Bitbucket: CrispinP, GitHub: CrispinP)


Full support for the Arilux AL-LC02 RGBW from Banggood would be a great way.
Happy to offer help or a donar one for work.

@xoseperez
Copy link
Owner Author

Really kind, but I just need to know the GPIO configuration. According to https://github.com/mertenats/Arilux_AL-LC0X they should be:

#if defined(RGBWW)
#define ARILUX_RED_PIN            5
#define ARILUX_GREEN_PIN          4
#define ARILUX_BLUE_PIN           14
#define ARILUX_WHITE1_PIN         12
#define ARILUX_WHITE2_PIN         13
#define ARILUX_COLOR_STRING       "RGBWW"
#elif defined(RGBW)
#define ARILUX_RED_PIN            5
#define ARILUX_GREEN_PIN          14
#define ARILUX_BLUE_PIN           12
#define ARILUX_WHITE1_PIN         13
#define ARILUX_COLOR_STRING       "RGBW"
#else
#define ARILUX_RED_PIN            14
#define ARILUX_GREEN_PIN          5
#define ARILUX_BLUE_PIN           12
#define ARILUX_COLOR_STRING       "RGB"
#endif

The AL-LC02 is RGBW so GPIOs should be 5, 14, 12, 13. You can try changing that in the ARILUX_AL_LC01 definition wich is also RGBW but with slightly different GPIO definition and test.

@xoseperez
Copy link
Owner Author

Original comment by Crispin (Bitbucket: CrispinP, GitHub: CrispinP):


Cool. I got the code compiling at home. When back I'll change them and see.

@xoseperez
Copy link
Owner Author

Original comment by Crispin (Bitbucket: CrispinP, GitHub: CrispinP):


So having a few problems getting this to compile.

It builds and then errors with

#!arduino
WebHandlers.cpp:68:64: error: 'strftime' was not declared in this scope

I cannot see that I am using the "wrong" library as per the google suggestions.
Is there anything special in your code which might cause this?

thanks.

@xoseperez
Copy link
Owner Author

Pushed your code to the dev branch (7f70d6f).

@xoseperez
Copy link
Owner Author

Released with 1.11.4

@xoseperez
Copy link
Owner Author

Removing milestone: 1.11.4 (automated comment)

@xoseperez xoseperez added major General enhancement New feature or request labels Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request major
Projects
None yet
Development

No branches or pull requests

1 participant