-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Final README update before end of semester
- Loading branch information
Showing
2 changed files
with
6 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,12 @@ | ||
# LEDScoreboard | ||
|
||
## About the files | ||
- `main.py` displays logos along with the score (have to fix the timing for NHL) | ||
- `text.py` simply displays text | ||
Decoration LED Scoreboard to display your favorite games from NHL, NBA, MLB, and La Liga. | ||
|
||
## Running the code | ||
Since we only have a single hardware device, make a file like `tmp.py` to check your results. For example: | ||
```py | ||
# tmp.py for nhl | ||
import nhl | ||
![Demo photo](./img/demo1.png) | ||
|
||
print(nhl.Scores.get_scores()) | ||
``` | ||
> Demo photo of a NBA game. | ||
Sample output | ||
``` | ||
[('PIT 2 - NYR 1', '13:28 2nd (LIVE)'), ('NJD 3 - BUF 4', 'TODAY (FINAL SO)')] | ||
``` | ||
## Useful links | ||
For more information on the project and setup guide check. <https://srdesignledboard.github.io/> | ||
|
||
## Check PEP8 conventions | ||
They are pretty simple and standard. Just for consistency in code from 6 people | ||
|
||
Make executable | ||
```bash | ||
chmod +x check_pep8.sh | ||
``` | ||
|
||
Run to check code | ||
```bash | ||
./check_pep8.sh | ||
``` | ||
|
||
Commit only if it returns no output. And, add folders to the command in `check_pep8.py` if you create any packages. | ||
For documentation on the code, check <https://srdesignledboard.github.io/documentation> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.