Skip to content

Commit

Permalink
Tidy documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
furbrain committed Apr 18, 2023
1 parent deeab85 commit 42a7985
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/laser_egismos_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@
import busio
import digitalio

from laser_egismos import Laser, LaserCommandFailedError
from laser_egismos import Laser

laser_power = digitalio.DigitalInOut(board.D10)
laser_power.switch_to_output(True)


uart = busio.UART(board.D8, board.D9, baudrate=9600)
laser = Laser(uart)
print(laser._send_and_receive(laser.READ_SW_VERSION))
laser.buzzer_off()
laser.laser_on()
time.sleep(3)
Expand Down

0 comments on commit 42a7985

Please sign in to comment.