Skip to content

Instantly share code, notes, and snippets.

View omirete's full-sized avatar
🚀
Automating the boring bits

Federico Giancarelli omirete

🚀
Automating the boring bits
View GitHub Profile
@nickovs
nickovs / stepper.py
Last active November 14, 2023 22:07
A stepper motor driver for MicroPython
# stepper.py
# A micropython driver for 4-phase, unipolar stepper motors such as
# the 28BYJ-48
# Relesed to the Public Domain by Nicko van Someren, 2020
# The constructor for the Stepper class takes as arguments the four
# pins for driving the motor phases, in phase order, and optionally a
# timer. The pins can be passed as pin numbers or machine.Pin objects
@miditkl
miditkl / raspberry_python.sh
Last active December 13, 2023 09:30 — forked from vbe0201/raspberry_python.sh
A shell script for installing Python 3.10.2 on your Raspberry Pi.
#!/bin/bash
# A bash script for installing Python 3.10.2 on your Raspberry Pi.
# (c) 2022 Valentin B. / Midian T. E.
#
# Open your terminal and type the following command:
# sudo wget https://gist.githubusercontent.com/realSnosh/cfe29370d2205bd1ad296e7bc7c9b9ea/raw/raspberry_python.sh && chmod +x raspberry_python.sh && ./raspberry_python.sh
sudo apt-get update -y
sudo apt-get upgrade