Closed vtni closed 10 years ago
Sure, I'll upload an example in the following days.
Hi vtni, the pendrive where I was storing the code has crashed in a very strange way and I'm working to recover it. As soon as I get the information back I'll be pushing some code here! I'm sorry for the delay.
Hey, I've just added two demos I used for my tests, they should give you an idea of how this works!
You need to enable i2c in your Raspberry Pi and install two libraries before using this (wiringpi2
and bitarray
), if you run setup.sh it will do it for you.
After that is as simple as running any of the demo scripts (python demo-gameoflife.py
).
Keep in mind I have tested this using 4 displays, if you have a different number just change it where it says MaxDraw(4)
.
Ask me if you need any help!
hi, thanks for your answer. would it possible to use it also with 2x2 matrices (16x16dots) or more like a display? i have not enough expierence yet to modify it.
It could be possible, but you'd need to modify maxdraw.py
to fit your needs.
The canvas
class allows you to have virtually any size of canvas you want, though part of the code (maxdraw
fundamentally) wasn't meant to be used with more than 8 dots of height.
I'll keep this in mind for a future update!
Hello, i have some of these dot matrix and tried to use your code, but i dont know exactly how to use. could you make an example (for one or some displays)? thank you.