Skip to content

Instantly share code, notes, and snippets.

View Naozumi520's full-sized avatar

Naozumi Naozumi520

  • Student
  • Hong Kong
  • 18:34 (UTC +08:00)
View GitHub Profile
@Naozumi520
Naozumi520 / asound.conf
Created July 4, 2022 11:22 — forked from chadmed/asound.conf
j314s-alsa-notes
# File written by chadmed <[email protected]>
# This file is organised from top to bottom as sound enters ALSA from user space.
# Set up device and set default for Pulse, PipeWire, JACK, etc.
# XXX: doesn't work reliably with PipeWire for some reason.
pcm.!default {
type plug
slave.pcm pass6
}
@Naozumi520
Naozumi520 / Zoetrope.ino
Created June 14, 2022 01:54 — forked from kellyegan/Zoetrope.ino
3D Zoetrope Arduino Code
// Zoetrope
// Copyright 2014 Kelly Egan
//
// 3D Strobescopic Zoetrope for Makerfaire 2014
#define BUTTON_PIN 12 //Button to turn zoetrope on and off
#define POT_PIN 0 //Potentiometer used to set speed of motor
#define INDICATOR_PIN 13 //Indicator LED
#define HALL_PIN 3 //Hall effect sensor to determine motor speed