This file contains hidden or 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
| /* Copyright 2021 REPLACE_WITH_YOUR_NAME | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 2 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains hidden or 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
| import board | |
| from adafruit_ht16k33.segments import BigSeg7x4 | |
| import time | |
| import touchio | |
| # setup the 7 segment display | |
| i2c = board.I2C() | |
| display = BigSeg7x4(i2c) | |
| display.brightness = 0.2 |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # coding: Latin-1 | |
| # Load library functions we want | |
| from inputs import get_gamepad | |
| from explorerhat import motor | |
| import math | |
| import time | |
| from blinkt import set_clear_on_exit, set_pixel, show, set_brightness |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # coding: Latin-1 | |
| # Load library functions we want | |
| from inputs import get_gamepad | |
| import piconzero as pz | |
| import time | |
| import sys | |
| import random | |
| import colorsys |
NewerOlder