A small project

In this small project, we want to read the analogue sensor (slider) and display the result on the rgb LED ring. To do this, we will divide the possible slider values into 7 slices and light an LED depending on the slice into which the value falls. Since we can get values between 0 and 4096 the first slice will be 0 .. 585 (4096 / 7). If we do this, the highest slice will be 3510 .. 4095.

-- Uli Raich - 2022-10-17

Comments

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2022-10-17 - UliRaich
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback