L&I 01 ~ LED Fade


./IMG_8764.jpg

I put together a rotary encoder controlled LED. The rotation of the encoder controls the speed at which the fade occurs, and the button-press of the encoder resets that speed to a step of 1. The step can be changed from 0-30.

This is built on top of the Sine wave example provided.


code on github · leils/itp_spr_2023


I chose to use a rotary encoder because of how satisfying I find the tangible clicking. On my first pass, I ran into some difficulty figuring out how to map an unbound rotating input to this fade; I think more work can be done here to make a more intuitive control.

Learning & Takeaways:

Posted/updated 2023-01-30

Tagged: content , itp , light-and-interactivity
Tech: , arduino

pre-fermenting: ingredients have been mixed, roughly stirred by hand, water and flour and the magic in the air, this will become something new and the change is rapid but we just have to wait to see when it'll be ready

* also found frequently in sunlight, on the pier, in the middle of it all, at a cafe table