sonyhome / FAB_LED

Fast Arduino Bitbang LED library supports programmable LEDs (WS2812B, APA102...), color palettes for Arduino AVR
GNU General Public License v2.0
125 stars 17 forks source link

Library is Not comfortable for newbies #32

Closed S60Team closed 2 years ago

S60Team commented 4 years ago

Please, make library more comfortable: write functions, like in NeoPixel library: they are simple to use. Like: strip.clear(), strip.fill(255,255,255), strip.show(), strip.setPixelColor(pixel, 255,255,255)

sonyhome commented 4 years ago

Thank you for your feedback: I'll think about it, but this library separates the array holding the pixels from the port the pixels are written to. Maybe I can extend the pixel classes for that. For Adafruit's library both are managed at the same time which is much less flexible so clear/fill/set make sense, but here it doesn't as much. You can clear the LEDs with FAB_LED but that doesn't erase the array.

S60Team commented 4 years ago

Thank you for your response. Then I think, your lib needs more code examples. And classes, whatever it means :)

sonyhome commented 4 years ago

Right now I'm working on a DigitalIO library (for sensors connected on the digital pins).

That one will be easier to use like you say, and support a few things I feel would make the sensors I know and have plug and play (like knock, rotary and ultrasonic sensors).