Posts

Showing posts from February, 2021

Pico Programming - Part 2 (Blink LED)

# blink_Led_pin_15.py tlfog01 2021feb10hkt2032 # Description - bBlink LED Pin15 # References - Getting started with Raspberry Pi Pico Projects - tlfog01  2021feb10hkt2032 # https://projects.raspberrypi.org/en/projects/getting-started-with-the-pico/2 # Setup - To upgrade Thonny # sudo apt update && sudo apt upgrade -y # *** blink_led_pin_15.py *** from machine import Pin, Timer # *** Config *** led15   = Pin(15, Pin.OUT) timer15 = Timer() #*** Functions *** def blinkLed15(timer):     led15.toggle()     return def main01(frequency):     print('Begin blinkLedPin15()')         timer15.init(freq = frequency, mode = Timer.PERIODIC, callback = blinkLed15)          print('End   blinkLedPin15()')     return  # *** Main() *** #main01(8) main01(10) # .END # *** Sample Output - tlfong01  2021feb10hkt2043 *** ''' >>> %Run -c $EDITOR_CONTENT Begin blinkLedPin15() End   blinkLedPin15() >>>  ''' # *** End of sample output ***

Pico Programming - Part 1 (Print Hello World)

Pico Programming - Part 1 (Print Hello World) # print_hello_world_01.py tlfog01 2021feb10hkt2032 # Description - Print "Hello World" # References - Getting started with Raspberry Pi Pico Projects - tlfog01  2021feb10hkt2032 # https://projects.raspberrypi.org/en/projects/getting-started-with-the-pico/2 # Setup - To upgrade Thonny # sudo apt update && sudo apt upgrade -y # *** print_hello_world_01.py *** print('Hello World') # .END # *** Sample Output - tlfong01  2021feb10hkt2043 *** ''' MicroPython v1.14 on 2021-02-02; Raspberry Pi Pico with RP2040 Type "help()" for more information. >>> %Run -c $EDITOR_CONTENT Hello World >>> '''

Pico Spec - Part 2 (Peripheral, Schematic etc)

Image
 Pico Schematic

Pico Spec - Part 1 (Pinout, Power Supply etc)

Image
  Pico Spec Pico Power: Get to Know the Raspberry Pi Pico Board and RP2040 - elektormagzine.com [01] Raspberry Pi Pico Review [02]   Now Playing at a Theatre Near You: RP2040 in Raspberry Pi Pico . [03]  The Raspberry Pi Pico datasheet [04]  RT6150 datasheet [05]  Pico MicroPython manual [06]  Pico Getting Started [07]  C/C++ setup [08]  IDE setup script [09]  RP2040 datasheet [10]  Pico Getting Started datasheet