lessons.lesson_7_and_8 package

Submodules

lessons.lesson_7_and_8.main module

Raspberry Pi Pico W LESSON 7: Controlling 3 LED with a Potentiometer in Micropython https://www.youtube.com/watch?v=YqvcSnGd_HQ&list=PLGs0VKk2DiYz8js1SJog21cDhkBqyAhC5&index=7

Raspberry Pi Pico W LESSON 8: Compound Conditionals and If Statements in MicroPython https://www.youtube.com/watch?v=uTwm3ydI69w&list=PLGs0VKk2DiYz8js1SJog21cDhkBqyAhC5&index=8

lessons.lesson_7_and_8.main.all_led_off() None[source]

Turns all leds off :return:

lessons.lesson_7_and_8.main.converter(read_value) int[source]

Converts potentiometer value to integer between 0 and 100 x min = 0, x max = 65535 y min = 0, y max = 100 :param read_value: :return:

lessons.lesson_7_and_8.main.turn_led_on(color) None[source]

Turns LED on based on color/name :param color: :return:

lessons.lesson_7_and_8.main.value_to_color(v_value) str[source]

Mapping pin name/color by potentiometer number COLORS[color] => range of integers :param v_value: :return:

Module contents