-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.html
203 lines (168 loc) · 8.59 KB
/
config.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>config.py — LEDScoreboard alpha documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="utils.py" href="utils.html" />
<link rel="prev" title="Welcome to LEDScoreboard’s documentation!" href="index.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head><body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="module-config">
<span id="config-py"></span><h1>config.py<a class="headerlink" href="#module-config" title="Permalink to this headline">¶</a></h1>
<p>Configurations for LEDScorebard program</p>
<dl class="py data">
<dt id="config.BRIGHTNESS">
<code class="sig-prename descclassname"><span class="pre">config.</span></code><code class="sig-name descname"><span class="pre">BRIGHTNESS</span></code><em class="property"> <span class="pre">=</span> <span class="pre">60</span></em><a class="headerlink" href="#config.BRIGHTNESS" title="Permalink to this definition">¶</a></dt>
<dd><p>Brightness (1-100) for LEDs of the matrix</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>int</p>
</dd>
</dl>
</dd></dl>
<dl class="py data">
<dt id="config.COLS">
<code class="sig-prename descclassname"><span class="pre">config.</span></code><code class="sig-name descname"><span class="pre">COLS</span></code><em class="property"> <span class="pre">=</span> <span class="pre">64</span></em><a class="headerlink" href="#config.COLS" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of columnns in the LED matrix</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>int</p>
</dd>
</dl>
</dd></dl>
<dl class="py data">
<dt id="config.GPIO_CONTROL">
<code class="sig-prename descclassname"><span class="pre">config.</span></code><code class="sig-name descname"><span class="pre">GPIO_CONTROL</span></code><em class="property"> <span class="pre">=</span> <span class="pre">25</span></em><a class="headerlink" href="#config.GPIO_CONTROL" title="Permalink to this definition">¶</a></dt>
<dd><p>GPIO for control button</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>int</p>
</dd>
</dl>
</dd></dl>
<dl class="py data">
<dt id="config.GPIO_MAPPING">
<code class="sig-prename descclassname"><span class="pre">config.</span></code><code class="sig-name descname"><span class="pre">GPIO_MAPPING</span></code><em class="property"> <span class="pre">=</span> <span class="pre">'adafruit-hat'</span></em><a class="headerlink" href="#config.GPIO_MAPPING" title="Permalink to this definition">¶</a></dt>
<dd><p>Type of GPIO mappings for LED matrix bonet</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>str</p>
</dd>
</dl>
</dd></dl>
<dl class="py data">
<dt id="config.LALIGA_FAVS">
<code class="sig-prename descclassname"><span class="pre">config.</span></code><code class="sig-name descname"><span class="pre">LALIGA_FAVS</span></code><em class="property"> <span class="pre">=</span> <span class="pre">['FCB',</span> <span class="pre">'ATB']</span></em><a class="headerlink" href="#config.LALIGA_FAVS" title="Permalink to this definition">¶</a></dt>
<dd><p>List of abbreviations of favorite teams in La Liga</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>List[str]</p>
</dd>
</dl>
</dd></dl>
<dl class="py data">
<dt id="config.MLB_FAVS">
<code class="sig-prename descclassname"><span class="pre">config.</span></code><code class="sig-name descname"><span class="pre">MLB_FAVS</span></code><em class="property"> <span class="pre">=</span> <span class="pre">['BOS']</span></em><a class="headerlink" href="#config.MLB_FAVS" title="Permalink to this definition">¶</a></dt>
<dd><p>List of abbreviations of favorite teams in MLB</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>List[str]</p>
</dd>
</dl>
</dd></dl>
<dl class="py data">
<dt id="config.NBA_FAVS">
<code class="sig-prename descclassname"><span class="pre">config.</span></code><code class="sig-name descname"><span class="pre">NBA_FAVS</span></code><em class="property"> <span class="pre">=</span> <span class="pre">['BKN',</span> <span class="pre">'DAL']</span></em><a class="headerlink" href="#config.NBA_FAVS" title="Permalink to this definition">¶</a></dt>
<dd><p>List of abbreviations of favorite teams in NBA</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>List[str]</p>
</dd>
</dl>
</dd></dl>
<dl class="py data">
<dt id="config.NHL_FAVS">
<code class="sig-prename descclassname"><span class="pre">config.</span></code><code class="sig-name descname"><span class="pre">NHL_FAVS</span></code><em class="property"> <span class="pre">=</span> <span class="pre">['PHI',</span> <span class="pre">'EDM',</span> <span class="pre">'BOS',</span> <span class="pre">'WIN']</span></em><a class="headerlink" href="#config.NHL_FAVS" title="Permalink to this definition">¶</a></dt>
<dd><p>List of abbreviations of favorite teams in NHL</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>List[str]</p>
</dd>
</dl>
</dd></dl>
<dl class="py data">
<dt id="config.ROWS">
<code class="sig-prename descclassname"><span class="pre">config.</span></code><code class="sig-name descname"><span class="pre">ROWS</span></code><em class="property"> <span class="pre">=</span> <span class="pre">32</span></em><a class="headerlink" href="#config.ROWS" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of rows in the LED matrix</p>
<dl class="field-list simple">
<dt class="field-odd">Type</dt>
<dd class="field-odd"><p>int</p>
</dd>
</dl>
</dd></dl>
</section>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="index.html">LEDScoreboard</a></h1>
<h3>Navigation</h3>
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">config.py</a></li>
<li class="toctree-l1"><a class="reference internal" href="utils.html">utils.py</a></li>
<li class="toctree-l1"><a class="reference internal" href="nhl.html">NHL module</a></li>
<li class="toctree-l1"><a class="reference internal" href="nba.html">NBA module</a></li>
<li class="toctree-l1"><a class="reference internal" href="mlb.html">MLB module</a></li>
<li class="toctree-l1"><a class="reference internal" href="laliga.html">LaLiga module</a></li>
<li class="toctree-l1"><a class="reference internal" href="other.html">Other files</a></li>
</ul>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="index.html">Documentation overview</a><ul>
<li>Previous: <a href="index.html" title="previous chapter">Welcome to LEDScoreboard’s documentation!</a></li>
<li>Next: <a href="utils.html" title="next chapter">utils.py</a></li>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 3.5.4</a>
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.8</a>
|
<a href="_sources/config.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>