reefangel/Libraries — pull request #174 by amunter (2014-08-23 21:24:17+00:00)
Title: Issue171: Undoing overloading of SetActinic, SetChannel, etc. for High Res PWM

Using Raw versions for things that call the higher res PWM slope type
functions. Arduino wasn't doing the right thing with the byte values when assigning them.

If someone had started using the new HighRes versions of the light profiles in PWM member functions like SetChannel (for the PWM expansion) and SetDaylight and SetActinic for the relay box channels they won't compile anymore because they are no longer overloaded to accept either int or byte arguments and do the right thing with them. Now, if you want to use the HighRes version of the light profiles in your .ino file you will need to do:

ReefAngel.PWM.SetDaylightRaw(PWMSlopeHighRes(...));

and similar.

The PWM class utility functions like Channel0Slope() and DaylightPWMSlope() and those type of functions will all do the right thing internally.

I believe this fixes [Issue 171](https://github.com/reefangel/Libraries/issues/171) with the caveats above.