Skip to content

Instantly share code, notes, and snippets.

View sdp8483's full-sized avatar

Sam Perry sdp8483

View GitHub Profile
@cpldcpu
cpldcpu / LowPowerLEDflasher.c
Created February 7, 2021 02:10
Low Power LED Flasher on PFS154
/* ---------------------------------------------------
Ultra Low Power LED flasher
LED is connected to PA4 and is high active.
Jan 16th, 2021, CPLDCPU - Initial version
---------------------------------------------------- */
#include <stdint.h>
@krdarrah
krdarrah / ATMEGA328P_TEST.ino
Last active April 1, 2024 20:25 — forked from speters/uid.ino
Arduino atmega328p unique id/serial number
//found this code here
//https://gist.github.com/speters/f889faec42b510052a6ab4be437d38ca
//Purpose is to simply run a memory check on ATMEGA238P to test for counterfeit parts
#include <avr/boot.h>
#define SIGRD 5
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
@ednisley
ednisley / Tek Circuit Computer.gcmc
Created December 14, 2019 16:26
GCMC + Bash source code: Homage Tektronix Circuit Computer
// Tektronix Circuit Computer Reproduction
// Ed Nisley KE4ZNU - 2019-11
//-----
// Library routines
include("tracepath.inc.gcmc");
include("engrave.inc.gcmc");
TekOD = to_mm(7.75in); // orginal Tek Circuit Computer diameter
@OmarArain
OmarArain / xldate_to_datetime.py
Created April 3, 2014 17:48
convert Excel serial date to python datetime.datetime
import datetime
def xldate_to_datetime(xldate):
temp = datetime.datetime(1900, 1, 1)
delta = datetime.timedelta(days=xldate)
return temp+delta
@jheasly
jheasly / rtlsdr-osx.txt
Last active February 26, 2021 04:02 — forked from 0xabad1dea/rtlsdr-osx.txt
Build RTL-SDR on OSX with no tears using homebrew. Forked from https://gist.github.com/0xabad1dea/5777726, a macports solution.
rtl-sdr build notes for OSX
using macports http://www.macports.org/
see http://sdr.osmocom.org/trac/wiki/rtl-sdr
brew install cmake
brew install libusb
brew install pkgconfig
brew install sox # for easy audio
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
@cstrahan
cstrahan / README.md
Last active June 10, 2023 01:15
Binary transfer script for minicom.

Configure minicom with minicom -s and enter the “File transfer protocols” section. You can add a section there called “binary”, point it at your file, and specify:

Field Value
Name Binary
Program bin-xfer -o %l
Name Y
U/D U
FullScr Y