Skip to content

Instantly share code, notes, and snippets.

@PeteHaughie
PeteHaughie / rpi_rotary_encoder.c
Created November 27, 2024 14:39 — forked from gustavorv86/rpi_rotary_encoder.c
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:
@PeteHaughie
PeteHaughie / usbmount-headless.md
Created November 24, 2024 17:38 — forked from zebrajaeger/usbmount-headless.md
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