Skip to content

Instantly share code, notes, and snippets.

View raspberrytipsnl's full-sized avatar

raspberrytips.nl raspberrytipsnl

View GitHub Profile
@raspberrytipsnl
raspberrytipsnl / laser.py
Last active February 1, 2021 11:44
Laser module python script (Raspberry Pi)
#!/usr/bin/env python
# Control Lasermodule from Raspberry Pi
# https://raspberrytips.nl/laser-module-aansturen-via-gpio/
import RPi.GPIO as GPIO
import time
LaserGPIO = 17 # --> PIN11/GPIO17