Hardware setup 1


https://s3-us-west-2.amazonaws.com/secure.notion-static.com/62eb70ba-0c12-4e93-87e8-40290721371e/led__pt.png

Activities

  1. Increase progressively the brightness of LED 6.
  2. Increase progressively the brightness of LED 6 with a function.
  3. Modify the last exercise to make the LED 6 increase its intensity progressively and, when it reaches the maximum brightness, it decreases progressively until it switches off.
  4. Control the brightness of LED 3 with potenciometer A0 and LED 6 with potenciometer A1.
  5. Make a program to control the intensity of LEDs 3 and 9 with potentiometer A0. If one of the LEDs increases its intensity, the other decreases it.

<aside> 💡 Hint: The map block will help you changing the range of the values.

</aside>

Solutions

Hardware setup 2