focalintent / FastLED-Sparkcore

SparkCore specific port of FastLED
MIT License
24 stars 34 forks source link

error: reference to 'RGB' is ambiguous #1

Closed GeertWille closed 9 years ago

GeertWille commented 9 years ago

When trying to use the RGB led on the SparkCore in combination with the library you get errors because of a naming collision.

NSFastLED::EOrder RGB and RGBClass RGB

focalintent commented 9 years ago

In that case, take out the FASTLED_USING_NAMESPACE declaration and explicitly namespace all your references to FastLED functions/constants/etc...

GeertWille commented 9 years ago

Thanks!