bugfix for setColumn in LedControl.py#4
bugfix for setColumn in LedControl.py#4IIIHeloIII wants to merge 1 commit intoyorkhackspace:masterfrom
Conversation
setColumn is not working and the fix is very simple.
|
Aha! Thanks again. |
|
Is this the driver for the top-box LED matrices (the ones that are On 17 October 2016 at 20:20, Daniel Bailey notifications@github.com wrote:
|
|
@aquila12 Yes, I believe so. I think we had plans to drive them from the BBBs a long time ago but haven't got to that stage yet. I'd still like to do that some day, it would allow us to make them react to events that occur in the game. At the moment the arduinos know nothing about the game, they just loop a single animation constantly. |
|
I have no idea which topbox you are talking about, I just needed some python code to drive my dot matrix display using MicroPython running on my NodeMcu ESP8266 development board. The pins are accessed in a slightly different way but apart from that, the script works fine. I found your script by searching for "LedControl.py" after watching an Arduino video on YouTube where they used Wayoda LedControl from Github (cpp version). I was just too lazy to rewrite the cpp code to python myself :) When I realized there was a bug in your script, I just thought I would let you know. |
setColumn is not working because the row iterator is called 'i' not 'row'.