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.2.tar.gz (4.3 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.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: control_laser_tower-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 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.2.tar.gz
Algorithm Hash digest
SHA256 99bc3aede16e601f188a1899ea56de919a5e0e4cb0edf4de3922de6fc2ed0635
MD5 a500045e98b2d2e6a01be218cd2ffa63
BLAKE2b-256 9574e3b746972bb5f16cfbef3d5f4391a352ea731d2024066db9f7ab32803546

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for control_laser_tower-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8339293c98e550ef5ade7636f5fef6c7025c41071d3a9514460f46a203eacbe
MD5 d55678a8a935a284271cd55af8da80b9
BLAKE2b-256 afc144dad2992952a59e31e886446ae21475952a857eeee91622252a878c48d6

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