Some general
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
5
justfile
5
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:
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user