Makuna / NeoPixelBus

An Arduino NeoPixel support library supporting a large variety of individually addressable LEDs. Please refer to the Wiki for more details. Please use the GitHub Discussions to ask questions as the GitHub Issues feature is used for bug tracking.
GNU Lesser General Public License v3.0
1.18k stars 260 forks source link

please add more example like the fastLED library #81

Closed mkeyno closed 8 years ago

mkeyno commented 8 years ago

hi @Makuna , thanks for increasing the example but I think the rich example such as FastLED library would be so great

Makuna commented 8 years ago

Do you have a link to this library?

I tend to make examples from common techniques to demonstrate best practice. Do you have a specific request?

mkeyno commented 8 years ago

hi @Makuna , thanks for quick reply but I'm supersized you never check FastLED library example , many people use its concept for lighting project but not totally adapted for extended demanding ESP8266 module, I have lot of fun with this library but like others guys I'm moving to ESP core but unfortunately not can what every I did with AVR module, however may people quote your library but the example not rich as FastLED is , and I hop it will be extended , because I've tried to move from Teency POV to ESP POV

BR

Makuna commented 8 years ago

Most of those examples can port over easily. A lot of them are matrix panel specific which doesn't represent all customers.

Are you really looking for a library of effects and not just examples?

mkeyno commented 8 years ago

frankly FastLED give us the tools like palette design so I could care only the effect manipulation however in ESP I should care about handling the client so running the effect when you have to care other stuff would be challenging , that's why I believe you library should have sample for that for example , I've try to make webserver when we could select different effect or bind the special effect to the sensor event, but making the effect is so time consuming and hard for me regards the really fast FastLED library

Makuna commented 8 years ago

Lets move this conversation over to gitter channel for so I can understand more of your needs.

https://gitter.im/Makuna/NeoPixelBus

mkeyno commented 8 years ago

dear @Makuna I used your last example in my ESP module and it is worked very well ,and thank you very much for add those new example and sharing it however , normally we use ESP as weserver or clientserver, can you make couple of example whereas have both task together in loop, for example check the new client request while show the effect , and in new client request we change the show effect

Makuna commented 8 years ago

This library is purely about NeoPixels across all Arduino boards, that example would be specific to Esp8266. I want to refrain from that since the actual NeoPixelBus calls would similar to all the current examples. The only real hint is to only ever call StartAnimation/StopAnimations or SetPixelColor from network callbacks, and merge in the two calls in loop() to animator.UpdateAnimations() and strip.Show() and it will just work.
See Melvanimate for a project that does something similar to what you are looking for. I have a link to this project in the wiki; and soon more; that use my library in more advanced scenarios.