Ramji Patel
Published © Apache-2.0

Getting started With Raspberry Pi Pico

Introduction to Raspberry pi pico(Microcontroller board from Raspberry Pi). Basic Idea about it. How to start physical computing with it,

BeginnerProtip1 hour448
Getting started With Raspberry Pi Pico

Things used in this project

Hardware components

Raspberry Pi Pico
Raspberry Pi Pico
×1
Male-Header 36 Position 1 Row- Long (0.1")
Male-Header 36 Position 1 Row- Long (0.1")
×1
Raspberry Pi Pico USB Cable
×1

Software apps and online services

Thonny

Story

Read more

Schematics

Raspberry pi pico and external LED

Code

Raspberry pi pico LED blink

MicroPython
Copy the code.
from machine import Pin, Timer
led = Pin(15, Pin.OUT)
timer = Timer()

def blink(timer):
    led.toggle()

timer.init(freq=2.5, mode=Timer.PERIODIC, callback=blink)

picoLED.py

MicroPython
from machine import Pin, Timer
led = Pin(15, Pin.OUT)
timer = Timer()

def blink(timer):
    led.toggle()

timer.init(freq=2.5, mode=Timer.PERIODIC, callback=blink)

Credits

Ramji Patel

Ramji Patel

26 projects • 18 followers
Myself Ramji Patel. I am an Engineering student and pursuing my B-Tech from Institute of engineering and rural Technology Prayagraj, India.

Comments