yoyojacky / 52pi Goto Github PK
View Code? Open in Web Editor NEW52Pi Technology Skills
52Pi Technology Skills
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
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.
Hi,
How can i rotate the screen upside down? The standard Raspberry Pi config/cmdline.txt doesn't work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.