Skip to content

Instantly share code, notes, and snippets.

@zebrajaeger
zebrajaeger / usbmount-headless.md
Last active February 20, 2025 06:06
usbmount (also ntfs) for Raspberry PI 4b - Raspberry PI OS lite 32 (headless)

usbmount (also ntfs) for Raspberry PI 4b - Raspberry PI OS lite 32 (headless)

1. Install OS

Download and install "Raspberry Pi Imager" from https://www.raspberrypi.org/software/

Choose "Raspberry PI OS Lite 32" Press Ctrl+Shift+X

  • Maybe switch to save always
@gustavorv86
gustavorv86 / rpi_rotary_encoder.c
Last active November 27, 2024 14:39
Raspberry PI Rotary Encoder Function Example
/*
Wiring
01 3.3V DC POWER --------------- +
06 GROUND ---------------------- GND
11 GPIO17 (GPIO_GEN0) ---------- CLK
12 GPIO18 (GPIO_GEN1) ---------- DT
13 GPIO19 (GPIO_GEN2) ---------- SW
Compile: