Problem with sunrise sunset effect
Problem with sunrise sunset effect
Hello Roberto, I read your tutorial on how to install the dawn effect, but in my files "features"I do not find the word "# define PWMExpansionRelay", but "/ / define PWMEXPANSION", I changed upon the latter with the one suggested by you , but when I try to test the code I get the error that you can see the Annex. I have developed libraries 8.5.19, the file also includes features changed. I do not understand what's the problem, help me please
- Attachments
-
- ReefAngel_Features.h
- (20.62 KiB) Downloaded 426 times
-
- error.jpg (136.12 KiB) Viewed 3971 times
Re: Problem with sunrise sunset effect
There has been a couple slight changes with a few later releases of the libraries. For 0.8.5.19 (and later), you need to change that line to this:
Make note of the . between PWM & Expansion.
That should fix your problem.
Code: Select all
ReefAngel.PWM.Expansion(a, int(2.55*PWMChannel[a]));
That should fix your problem.
Re: Problem with sunrise sunset effect
Thanks Now it works. But I have to leave inside the file features "# define PWMEXPANSION" or should I replace it with "# define PWMExpansionRelay"?
you may post the latest version of the file Features
you may post the latest version of the file Features
Re: Problem with sunrise sunset effect
I posted this in the other topic you commented on, but I'll still post here too.
The "official" fully documented features file:
https://github.com/curtbinder/ReefAngel ... Features.h
The "official" fully documented features file:
https://github.com/curtbinder/ReefAngel ... Features.h