LED Blinking with Raspberry Pi Pico | Thonny | micropython

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024
  • Time Stamps
    Introduction: 0:0 0:54
    Code Explanation 0:54 7:37
    LED Demonstration 7:37 8:13
    Download Thonny from here:
    thonny.org/
    Code for the PICO:
    from machine import Pin
    import utime #timer
    #led pin decleration
    led=Pin(25,Pin.OUT)
    while(True):
    led.value(1) #turn LED ON.
    utime.sleep(3) #delay of 1 second.
    led.value(0) #turns OFF LED
    utime.sleep(1)
    #raspberrypipico
    #howtolearnraspberrypipico
    #gettingstartedwithraspberrypipico
    #thonnyraspberrypipico
    #raspberrypipicopeoject
    #projects
    #raspberrypi
    #micromcontroller
    #raspberrypipicoproject
    #ledblinkingraspberrypipico
  • วิทยาศาสตร์และเทคโนโลยี

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