show_message, text draw not show text properly
See original GitHub issueShow_message and text draw show text not properly:
Type of Raspberry Pi
Pi 3B
Linux Kernel version / Python
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux.
root@raspberrypi:~/# pip3 list|grep luma
luma.core (1.2.1)
luma.led-matrix (1.0.7)
root@raspberrypi:~/# python3 -V
Python 3.5.3
Expected behaviour
Test Code:
import time
from luma.led_matrix.device import neopixel
from luma.core.render import canvas
from luma.core.legacy import text, show_message
from luma.core.legacy.font import TINY_FONT, CP437_FONT
device = neopixel(width=60, height=10)
device.contrast(50)
def main():
with canvas(device, dither=True) as draw:
text(draw, (0, -1), txt="TEST", fill="red", font=CP437_FONT)
time.sleep(10)
if __name__ == "__main__":
main()
Actual behaviour
ws281x Library installed from https://github.com/richardghirst/rpi_ws281x, The provided Demo works:
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
C# MessageBox doesn't display the whole string of text anymore
Couple of things to try: 1) If running the debug version, try compiling and running the release version 2) Try creating a whole...
Read more >Build and display a pop-up message | Android Developers
First, you create a Snackbar object with the message text. Then, you call that object's show() method to display the message to the...
Read more >What properly goes into the "caption" of a message box?
1 Answer 1 · If an error is displayed by many different commands, consider using the program name instead. · If that title...
Read more >MessageBox.Show Method (System.Windows.Forms)
Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button, using the specified Help file, HelpNavigator...
Read more >Yes No Message Box (Msgbox) - VBA Code Examples
This tutorial will cover how to use the VBA MsgBox Function to display messageboxes to users (including the YesNo Messagebox). You might also...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The screen is a Dell 43 Zoll 4K Screen 😃 The mapping you can find bellow:
10 x 60 LEDS, conected in snake layout.
I have create my own mapping, now all works fine.
Thank you!