Skip to content

Commit

Permalink
rebuild bindings with set_laser_delays included
Browse files Browse the repository at this point in the history
  • Loading branch information
co2e14 committed Jan 6, 2025
1 parent 6249709 commit 60c5134
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
Binary file not shown.
19 changes: 6 additions & 13 deletions src/rtc6_fastcs/bindings/rtc6_bindings.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ __all__ = [
"set_end_of_list",
"set_jump_speed_ctrl",
"set_laser_control",
"set_laser_delays",
"set_laser_mode",
"set_mark_speed_ctrl",
"set_scanner_delays",
"set_sky_writing_mode",
"set_laser_delays",
]

class CardInfo:
Expand Down Expand Up @@ -279,6 +279,11 @@ def set_laser_control(settings: int) -> None:
set the control settings of the laser, see p641
"""

def set_laser_delays(laser_on_delay: int, laser_off_delay: int) -> None:
"""
set the delays for the laser, see p136
"""

def set_laser_mode(mode: str) -> None:
"""
set the mode of the laser, see p645
Expand All @@ -298,15 +303,3 @@ def set_sky_writing_mode(speed: int) -> None:
"""
set the skywriting mode
"""

def set_laser_delays(laser_on_delay: int, laser_off_delay: int) -> None:
"""
LaserOn delay. As a signed 32-bit value.
1 bit equals 1/64 μs.
Allowed value range: [–231…+(221–1)].
Values over (221–1) are clipped.
LaserOff delay. As an unsigned 32-bit value.
1 bit equals 1/64 μs.
Allowed value range: [0…+(221–1)].
Values over (221–1) are clipped.
"""

0 comments on commit 60c5134

Please sign in to comment.