Hi Jeff,
I think I've figured it out.
line 5 should be a comment.
line 10 should have your fix in it
line 5 --> #display = max7219.Max7219(width, height, spi, cs, rotate)
line 10 --> display = max7219.Max7219(32, 8, spi, Pin(15),4)
Now it works.
Thank you
Tim
Search found 3 matches
- Wed Jul 22, 2020 12:51 am
- Forum: Drivers for External Components
- Topic: Anyone working on a MAX7219 8x8 LED matrix display library?
- Replies: 43
- Views: 137524
- Wed Jul 22, 2020 12:45 am
- Forum: Drivers for External Components
- Topic: Anyone working on a MAX7219 8x8 LED matrix display library?
- Replies: 43
- Views: 137524
Re: Anyone working on a MAX7219 8x8 LED matrix display library?
Hi Jeff,
Now I get this:
.....
download ok
exec(open('./ESP8266_8x8_x4_test.py').read(),globals())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 5, in <module>
NameError: name 'width' isn't defined
>>>
Tim
Now I get this:
.....
download ok
exec(open('./ESP8266_8x8_x4_test.py').read(),globals())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 5, in <module>
NameError: name 'width' isn't defined
>>>
Tim
- Tue Jul 21, 2020 6:32 pm
- Forum: Drivers for External Components
- Topic: Anyone working on a MAX7219 8x8 LED matrix display library?
- Replies: 43
- Views: 137524
Problem getting MAX7219 Matrix display to work
I'm a MicroPython newbie and I'm trying to get Jeff Brown's example code to run on an ESP8266 board using uPyCraft v 1.1 and MicroPython v1.12 on 2019-12-20; ESP module with ESP8266. I can run the blink.py script with no problem. So I believe I have the board configured correctly in uPyCraft. The ma...