Giter VIP home page Giter VIP logo

python-ldp8008's Introduction

python-ldp8008

Parts required

Wiring  
GPIO pin         LDP-8008 pin               Cable colour  
3  ------------> 2  A  (Row address)        Brown  
5  ------------> 4  B  (Row address)        Red  
6  ------------> 5  GND                     Orange  
7  ------------> 6  C  (Row address)        Yellow  
8  ------------> 7  EN (Enable Display)     Green  
10 ------------> 8  D  (Row address)        Blue  
11 ------------> 9  R1 (Red Led)            Purple  
12 ------------> 10 G1 (Green Led)          Grey  
13 ------------> 14 L  (Latch)              White  
15 ------------> 16 S  (Shift)              Black  

$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye

Download ldp_8008.tar.gz Using a 80x8 LED display

sudo apt install python2.7 python2.7-dev
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2.7 get-pip.py
sudo pip2 install RPi.GPIO
sudo python2.7 ./scroll "Raspberry Pi" 1

Slow down scroll speed

nano ./scroll

# function to read the matrix array and output the values to the display device
#
def showmatrix():
        ldp.displayoff()
        time.sleep(.025)
        for row in reversed(range(8)):
                for col in reversed(range(80)):
                        ldp.colourshift(matrix[row][col])
                ldp.showrow(row)
# end def

Credits

http://www.embeddedadventures.com/Tutorials/tutorials_detail/184

https://github.com/nhfruchter/python-ldp8008

https://forums.raspberrypi.com/memberlist.php?mode=viewprofile&u=235265

http://rods-stuff.blogspot.com/2015/04/led-matrix-use-your-old-model-raspberry.html

python-ldp8008's People

Contributors

nzregularit avatar

Watchers

 avatar  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.