rm-hull / luma.led_matrix

Python module to drive LED Matrices & 7-segment displays (MAX7219) and RGB NeoPixels (WS2812 / APA102)
https://luma-led-matrix.readthedocs.io
MIT License
525 stars 157 forks source link

led_matrix/segment_mapper.py:10: #163

Closed viktor6 closed 6 years ago

viktor6 commented 6 years ago

Help

pi@raspberry:~/max7219 $ python examples/matrix_demo.py --cascaded 4 --block-orientation -90
/usr/local/lib/python2.7/dist-packages/luma/led_matrix/segment_mapper.py:10: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  '\xb0': 0x63,
Created device
MAX7219 LED Matrix Demo

sudo usermod -a -G spi,gpio pi sudo apt-get install build-essential python-dev python-pip libfreetype6-dev libjpeg-dev sudo pip install max7219 git clone https://github.com/rm-hull/max7219.git cd max7219 sudo pip install -e . sudo pip install spidev sudo python setup.py instal

rm-hull commented 6 years ago

See #161 & #162 .. it is a warning so the code should still work as normal

Closing as duplicate

rm-hull commented 6 years ago

v1.1.1 released to pypi with a fix for this issue

thijstriemstra commented 6 years ago

@viktor6 use this:

git clone https://github.com/rm-hull/luma.led_matrix.git
cd luma.led_matrix
sudo pip install -e .

max7219 is the old name for this library.

viktor6 commented 6 years ago

Give instructions for the current version of max7219