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
| # Based on https://github.com/pimoroni/st7735-python/blob/main/st7735/__init__.py | |
| import numbers | |
| import time | |
| from gpiozero import OutputDevice | |
| import numpy as np | |
| import spidev | |
| ST7735_NOP = 0x00 | |
| ST7735_SWRESET = 0x01 |
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
| from serial import Serial | |
| from glob import glob | |
| from gpiozero import DigitalOutputDevice | |
| import time | |
| import json | |
| data_rate_bits = { | |
| '300': 0, | |
| '1200': 1, | |
| '2400': 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
| FROM node:20-slim As builder | |
| RUN apt-get update | |
| RUN apt-get install -y python3 | |
| RUN mkdir /frontend | |
| WORKDIR /frontend | |
| RUN npm install -g @angular/cli@16 | |
| COPY package.json package-lock.json ./ |