rm-hull / luma.examples

Companion repo for running examples against the luma.oled, luma.lcd, luma.led_matrix and luma.emulator display drivers.
MIT License
370 stars 144 forks source link

NameError for text() in Luma example #98

Closed thomasw-mitutoyo-ctl closed 5 years ago

thomasw-mitutoyo-ctl commented 5 years ago

The LED example for daisy chaining at https://luma-led-matrix.readthedocs.io/en/latest/python-usage.html#daisy-chaining has a two lines of code that

text(draw, (2, 2), "Hello", fill="white", font=proportional(LCD_FONT))
text(draw, (2, 10), "World", fill="white", font=proportional(LCD_FONT))

It seems there's missing

from luma.core.legacy import text