Raspberry pi telnet server10/14/2023 Here's the python script to display the info in green color only:įrom pylcdsysinfo import BackgroundColours, TextColours, TextAlignment, TextLines, LCDSysInfoĭ = LCDSysInfo() d.clear_lines(TextLines.ALL, BackgroundColours.BLACK)ĭ.dim_when_idle(False) d.set_brightness(127) d.save_brightness(127, 255)ĭ.set_text_background_colour(BackgroundColours.BLACK)į = open('yw', 'r') col = TextColours.GREEN c = 1 ĭ.display_text_on_line(c, line, False, TextAlignment.LEFT, col) It writes the information in a file which is then read and displayed to LCD by a python script. Most of the script above is for converting the rss weather feed xml into those few lines to display.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |