Skip to main content
Arduino

Timeline for Fade LED strip using proximity and map() function

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Apr 13, 2017 at 12:33 history edited Community Bot
replaced http://electronics.stackexchange.com/ with https://electronics.stackexchange.com/
Jan 5, 2015 at 1:52 comment added Ignacio Vazquez-Abrams @claudybee: Implement a lookup table using one of the formulas in the linked question. Don't be afraid to use more than 256 values if it ends up working better.
Jan 4, 2015 at 22:51 comment added claudybee Thanks Ignacio!! I gave it a shot and it needs a little tweaking but gets me closer. However, to Chris' point, it still seems a little abrupt as it shifts. Chris - any tips on approach to what you're talking about? I think that's where I probably need to go...
Jan 4, 2015 at 17:54 comment added Chris Stratton I agree about the step size, however sub-inch measurement may not be a full solution. Non-linear mapping may be needed. Something in the time domain, which ramps the level up or down one step at a time (with delay) to seek a function of the current distance or recent average thereof might or might not also help.
Jan 4, 2015 at 15:05 history answered Ignacio Vazquez-Abrams CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /