Skip to main content

Laser tower controller package for two servos and a laser

Project description

control-laser-tower

Lightweight library to control a small laser tower: two servos (base 0–360°, top 0–180°) and a laser/LED. Uses gpiozero for hardware access.

Quick start

pip install control-laser-tower

from control_laser_tower import LaserTower, set_config

# optional: change default pins before creating instances
set_config(base_pin=5, top_pin=6, laser_pin=13)

lt = LaserTower()
lt.set_base_angle(180)
lt.set_top_angle(45)
lt.laser_on()

Packaging

  • Build a wheel: python -m build (requires build package)
  • Upload with twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

control_laser_tower-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

control_laser_tower-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file control_laser_tower-0.1.0.tar.gz.

File metadata

  • Download URL: control_laser_tower-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for control_laser_tower-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f564e9510e47bce9c2f131dcc17bd4e69b5ccf2462341f002fdbbb7fde45169
MD5 d12d819f00aa3725b3d3a827d59121b0
BLAKE2b-256 921ae6d96ec93da99a848424bc0ab1f231608b7a267f3ddb2ceee4874d16a7fc

See more details on using hashes here.

File details

Details for the file control_laser_tower-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for control_laser_tower-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30d584ce8bdcb69fac6e406152849eb5caf05eb08e3d66ed6b2954ff285a8be1
MD5 25457fdc424aeaf647247aef3cb1189e
BLAKE2b-256 5b9adcde2be904e8734ca237ff9296bc110aca770d239adef574a6bfc445199f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page