Giter VIP home page Giter VIP logo

52pi's People

Contributors

yoyojacky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

52pi's Issues

Led Matrix and Spectrum analyser

Hi!

I'm very new to Rpi, gpio, etc.
I have this led 8x8 matrix and I was wondering what you'd recommend to use it as an audio visualizer.

Best

8x8 LED matrix help

Hi @yoyojacky

I've seen your post on https://wiki.52pi.com/index.php/RPI-RGB-LED-Matrix_SKU:EP-0075

It's been very informative, and I'm trying to adapt your code to my use case. I was wondering if you could help me out.

First of all, I'm using an ESP8266 microcontroller with the MicroPython firmware. I have somewhat adapted your code to MicroPython and looks like this:

from machine import SPI, Pin
import time

spi = SPI(1, baudrate=500000)
ce = Pin(15, Pin.OUT, value=1)

rows = [0x00, 0x66, 0xFF, 0xFF, 0xFF, 0x7E, 0x3C, 0x18]
for j in range(8):
    ce.off()
    spi.write(bytearray([~rows[j], 0xFF, 0xFF, 0x01 << j]))
    ce.on()
    time.sleep(0.1)

For some reason, every time it draws a horizontal line, the previous line disappears. I've recorded a video: https://youtu.be/KMouz8hCJDg

I was wondering if you have an idea what I may need to change in my code in order to make the matrix display the full picture.

Thank you.

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.