Question: Write a python function called blinkFunc that takes two arguments pin_list, and count, where pin_list represents a list of GPIO pins. The function should blink

Write a python function called "blinkFunc" that takes two arguments "pin_list", and "count", where "pin_list" represents a list of GPIO pins. The function should blink all the pins listed within "pin_list" for a number of time determined by the "count" variable. For each blink, the pins should be on for 1 seconds and off for 2 seconds. def count) i in (count): for pin GPIO.output GPIO.HIGH) for pin GPIO.output interval pin while range GPIO.LOW pin_list 2 in GPIO.HIGH time sleep lists 1 flash_leds flash_led pins for BlinkFunc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
