From ac73cfcf5e92d728f047ac5b5d359a68224404b6 Mon Sep 17 00:00:00 2001 From: Jonas Hahn Date: Thu, 15 Jan 2026 16:16:35 +0100 Subject: [PATCH] Some general --- README.md | 8 +------- justfile | 5 ++--- pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index cce99fb..b6ad3ee 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,6 @@ Use adafruit servokit to manage the servos through the external board. Enable the I2C module for the rasberry pi. Install the package and initialize with -```python -from adafruit_servokit import ServoKit -kit = ServoKit(channels=16) -kit.servo[0].angle = 180 -``` - ```text https://pinout.xyz/ Full pinout for the rpi3 https://components101.com/sites/default/files/component_datasheet/SG90%20Servo%20Motor%20Datasheet.pdf Datasheet for the servomotor used @@ -23,7 +17,7 @@ https://ben.akrin.com/raspberry-pi-servo-jitter/ Blog post how to fix jittering Local address inet6 fe80::7e2c:ada5:5de7:9a2c/64 -## Cables +## Cables on the rpi From right to left diff --git a/justfile b/justfile index 39e8744..04d380f 100644 --- a/justfile +++ b/justfile @@ -1,10 +1,9 @@ default: sim sim: + @echo "Starting the simulation!" uv run python simulation.py test: + @echo "Try to run all the tests." uv run python -m unittest discover -v - -sync: - rsync -r --exclude=venv ~/solarmotor guest@hahn1.one: diff --git a/pyproject.toml b/pyproject.toml index c15d295..412e09c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "solarmotor" -version = "0.1.0" -description = "Add your description here" +version = "0.1.1" +description = "Binary to simulate mirrors" readme = "README.md" requires-python = ">=3.13" dependencies = [