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.1.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.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: control_laser_tower-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 13569775c51e1ff26c835f96b5d2990106f3b1d590dde2bf4b555b706d3512ce
MD5 2c67196a16e45808c2f9124eb1c11fa9
BLAKE2b-256 bdba7d909518baab45040bd7a78cdfd681980cea34609c39c27f37a78178afd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for control_laser_tower-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca48850eea097f3c6dbd8fbb3b3333bc1e8f771e0b899d44e35adbfe5936f79
MD5 8ef066d2ca7bb06c89704f46dacf2466
BLAKE2b-256 0e0a92992f7dd13f4c983599e59d8e21d49c841c18ce1a559d3195b79e6792d1

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