Lesson no. 80 Asymmetric timer functions

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ย. 2024
  • Here is my homework for lesson 80. Making an led asymmetrically turn on and off. • Raspberry Pi Pico W LE...

ความคิดเห็น • 2

  • @paulmcwhorter
    @paulmcwhorter หลายเดือนก่อน +1

    Interesting approach. The challenge is going to be that the way you did redBlink is now blocking. the time.sleep of .9 is going to halt your program, and anything else you do in the main while loop. Take a look at my solution next week.

    • @peterkarlsson7801
      @peterkarlsson7801 หลายเดือนก่อน

      I think this program works fine and is a valid solution for the homework. But I agree that there are other better solutions, giving the posibility for the Picow / main program to do more than just blinking one LED.