Russian text
See original GitHub issueHello. Help with the Russian coding in the running line
Raspberry PI3
Max7219 8x8x4
pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.9.78-v7+ #1084 SMP Thu Jan 25 18:05:49 GMT 2018 armv7l GNU/Linux pi@raspberrypi:~ $
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
> # Copyright (c) 2017-18 Richard Hull and contributors
> # See LICENSE.rst for details.
>
> import re
> import sys
> import datetime
> import time
> import argparse
>
> from luma.led_matrix.device import max7219
> from luma.core.interface.serial import spi, noop
> from luma.core.render import canvas
> from luma.core.virtual import viewport
> from luma.core.legacy import text, show_message
> from luma.core.legacy.font import proportional, CP437_FONT, TINY_FONT, SINCLAIR_FONT, LCD_FONT
>
> serial = spi(port=0, device=0, gpio=noop())
> device = max7219(serial, cascaded=4, block_orientation=-90)
>
> while(True):
> msg = "Всем привет!!!"
> show_message(device, msg, fill="white", font=proportional(SINCLAIR_FONT))
> time.sleep(1)
>
> for offset in range(8):
> virtual.set_position((offset, offset))
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Russian Keyboard Online • Cyrillic Alphabet • LEXILOGOS
Online keyboard to type a text with the Cyrillic characters of the Russian alphabet.
Read more >Texts with audio - Learn Russian for Free
Texts in Russian to read and practice your language skills. These reading exercises come with audio recordings to help you learn new words....
Read more >Type Russian letters – online Russian keyboard
Simple, no-nonsense online Russian keyboard with an easy-to-learn QWERTY layout. Type Russian letters in the box, then copy your text wherever you want....
Read more >Russian Reading: Russian Texts for Beginners - Lingua.com
Lingua.com has Russian texts with audio and exercises so that you can practice and improve your reading comprehension of this language. 18 free...
Read more >Russian/English Parallel Texts Index
The following articles are parallel texts presented in Russian and English. Each text contains audio in Russian. They are designed to help you...
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
@viktor6 This is my solution. To avoid concurrent messages, I made a daemon, which receives commands what to show with a pipe message. I use it with online radio, showing the station, artist and song. Here is daemon code:
And here is the script which communicates with daemon:
@thijstriemstra This is a way to protect the script from running more than once in the same time. https://pythonhosted.org/tendo/ I had some problem when daemon script was started more than once. Or for the case daemon started the script, and user starts it once again manually.