()
| 50 | rt(6) |
| 51 | |
| 52 | def display_date_time(): |
| 53 | global current_day |
| 54 | writer.clear() |
| 55 | now = datetime.now() |
| 56 | current_day = now.day |
| 57 | writer.home() |
| 58 | writer.forward(distance=65) |
| 59 | writer.write(wochentag(now), align="center", font=dtfont) |
| 60 | writer.back(distance=150) |
| 61 | writer.write(datum(now), align="center", font=dtfont) |
| 62 | writer.forward(distance=85) |
| 63 | |
| 64 | def setup(): |
| 65 | global second_hand, minute_hand, hour_hand, writer |