Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.2 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.2 KB

Code for LED lamps.

Requirements:

  • Raspberry Pi Pico or Pico W
  • Quick setup for Circuitpython v9:
    • Install circuitpython (next section).
    • Copy all files in this repository onto the Pico.
    • Bob's your uncle.

Installation

Install Circuitpython

Download and copy the appropriate circuitpython file (version 9) to the Raspberry Pi Pico (or pico W):

The Pico will rename itself CIRCUITPI

Copy files

  • Copy files and folders from this repository onto the Raspberry Pi.
  • The Pico will run the code.py file by default.
    • This program assumes you have a 30 pixel array (at GPIO15) and a touch sensor (at GPIO16).
    • It will run a rainbow pattern that turns on and off when you touch the touch sensor.

Settings (Pico vs PicoW)

  • the default code.py file is designed for the Pico with a touch sensor only.
  • server.py: is designed for the picoW, to run by default replace the code.py file with this file.