View Categories

Lampu Mengalir Warna Warni Raspberry Pi Pico

Persiapan Bahan #

– Raspberry Pi Pico / Pico W
– 5x LED
– Breadboard
– 10x Kabel Jumper Male to Male
– Kabel Micro USD
– Aplikasi Thonny IDE

Wiring LED Ke Raspberry pi Pico #

Sample Code #

from machine import Pin
import utime
leds = [Pin(i,Pin.OUT) for i in range(0,5)]
if __name__ == '__main__':
    while True:
        for n in range(0,5):
            leds[n].value(1)
            utime.sleep_ms(50)
        for n in range(0,5):
            leds[n].value(0)
            utime.sleep_ms(50)
Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare
What are you looking for in Partdo?
× How can I help you?