MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

tests/test_pager_code.py:101–116  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

99 RTTTL_LEVEL_UP = "levelup:d=16,o=5,b=200:c,e,g,c6,8p,g,c6,e6,8g6"
100
101 def __init__(self):
102 self._width = 222
103 self._height = 480
104 self._initialized = False
105 self._rotation = 0
106 self._brightness = 100
107 self._max_brightness = 255
108 self._screen_on = True
109 self._start_time = time.time()
110 self._audio_playing = False
111 self._led_states = {}
112 self._draw_calls = 0
113 self._loaded_images = {}
114 self._next_image_handle = 1
115 if VERBOSE:
116 print("[MockPager] Created")
117
118 # ========== COLOR HELPERS ==========
119 @staticmethod

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected