forked from nebhead/PiFire
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdisplay_none.py
More file actions
executable file
·34 lines (25 loc) · 834 Bytes
/
display_none.py
File metadata and controls
executable file
·34 lines (25 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env python3
# *****************************************
# PiFire Display None Interface Library
# *****************************************
#
# Description: This library can be used on
# systems with no display present.
#
# *****************************************
# *****************************************
# Imported Libraries
# *****************************************
class Display:
def __init__(self, dev_pins, buttonslevel='HIGH', rotation=0, units='F'):
self.display_splash()
def display_status(self, in_data, status_data):
pass
def display_splash(self):
print('[Splash] PiFire Display Starting Up')
def clear_display(self):
print('[Display] Clear Display Command Sent')
def display_text(self, text):
print(f'[Display] {text}')
def display_network(self):
print(f'[Display] Network')