Skip to content

Instantly share code, notes, and snippets.

View sciguy14's full-sized avatar
🛠️
Beep Boop Beep

Jeremy Blum sciguy14

🛠️
Beep Boop Beep
View GitHub Profile
@sciguy14
sciguy14 / .gitattribute
Created June 7, 2019 13:47
.gitattribute File for Altium File Detection by Linguist
# The following extensions should be classified as Altium Designer by GitHub
*.DXPPrf linguist-language=altium linguist-detectable=true
*.DwfDot linguist-language=altium linguist-detectable=true
*.DwsDot linguist-language=altium linguist-detectable=true
*.PCBDwf linguist-language=altium linguist-detectable=true
*.CmpLib linguist-language=altium linguist-detectable=true
*.IntLib linguist-language=altium linguist-detectable=true
*.Lib linguist-language=altium linguist-detectable=true
*.PvLib linguist-language=altium linguist-detectable=true
*.BomDoc linguist-language=altium linguist-detectable=true
@sciguy14
sciguy14 / pokewalker.ino
Created February 18, 2019 17:20
Nintendo Switch Servo Sweep
// Nintendo Switch Sweep (https://blum.fyi/nintendo-switch-sweep)
// (c) 2019 Jeremy Blum
// This code is in the Public Domain.
// I'm not responsible for any damage you do to your Nintendo Switch
// Requires the following...
// Arduino Uno or Clone: https://amzn.to/2DPVdev
// Micro-B USB Cable: https://amzn.to/2IjvqRm
// Tower Pro SG-5010 Servo Motor: https://amzn.to/2ImxlVd
// Male-to-Male Jumper Wires: https://amzn.to/2EfhRyc
@sciguy14
sciguy14 / multi-speaker.ino
Created September 25, 2016 11:55
Using Interrupts to Drive Multiple Speakers Simultaneously from an Arduino
//** Arduino - Drive Multiple Speakers with Interrupts **//
//** http://www.jeremyblum.com/2010/09/05/driving-5-speakers-simultaneously-with-an-arduino/ **//
/* Timer reload value, globally available */
unsigned int tcnt2;
/* Toggle HIGH or LOW digital write */
int toggle1 = 0;
int toggle2 = 0;
int toggle3 = 0;