Giter Club home page Giter Club logo

raspberry-pico-waveshare-lcd-demo's Introduction

Raspberry Pico Waveshare LCD Demo

Waveshare 240 x 240 LCD with Joypad + Buttons demo for Raspberry Pico

Waveshare LCD

Modified version of Raspberry Pico SDK Example for Waveshare 1.3 Inch LCD panel 1 with Joypad and 4 buttons.

The original demo works well with the Waveshare LCD simply by changing the pin definitions as shown.

This demo extends the original by adding functionality for the 5-way Joypad and 4 buttons on the Waveshare panel.

Panel initialisation has been simplified and modified for 90 degree LCD screen orientation.

Pico built-in LED toggles on/off every (theta_max / 12) degrees rotation.

Pre-built .uf2 image here Releases > Assets

Start animation by clicking the Joypad when centred.

LCD Display Pin Numbers

Function Original Demo Pin Waveshare Panel Pin
DC 3 8
CS 2 9
CLK 1 10
DIN 0 11
RESET 4 12
BL 5 13

Joypad Pins and Functions

Pin Joypad Function
2 UP Static Image - Up
18 DOWN Static Image - Down
16 LEFT Static Image - Left
20 RIGHT Static Image - Right
3 CENTRE (Re)Start Animation

Keypad Pins and Functions

Pin Keypad Function
15 A Speed up / slow down
17 B Slow down / speed up
19 X Stop Animation
21 Y Animation Direction

Footnotes

  1. https://www.waveshare.com/wiki/Pico-LCD-1.3 โ†ฉ

raspberry-pico-waveshare-lcd-demo's People

Contributors

serialcomms avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.