Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Milldrum NT7S

View GitHub Profile
@NT7S
NT7S / EmpyreanEncoder.ino
Last active Sep 8, 2020
Very basic rotary encoder support for Empyrean
View EmpyreanEncoder.ino
constexpr uint8_t encoder_pin_a = 5;
constexpr uint8_t encoder_pin_b = 6;
int16_t count = 0;
bool prev_b = false;
bool change = false;
void ISRENCA()
{
static bool prev_read = false;
@NT7S
NT7S / EmpyreanudevInstall.md
Last active Jan 21, 2020
How to Install Empyrean udev Rules
View EmpyreanudevInstall.md

Please execute the following commands in a terminal in order to install the Empyrean udev rules to your Debian-based Linux PC:

curl -fsSL https://raw.githubusercontent.com/etherkit/ArduinoBoards/master/etherkit-samd-1.0.0/10-empyrean.rules | sudo tee /etc/udev/rules.d/10-empyrean.rules
sudo service udev restart
View !CWKeying.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@NT7S
NT7S / !SimpleWave.ipynb
Last active Dec 1, 2019
FIR Filter Example
View !SimpleWave.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@NT7S
NT7S / crc14.c
Last active Jan 15, 2020
FT8 Encoding test script
View crc14.c
/**
* \file
* Functions and types for CRC checks.
*
* Generated on Thu Dec 6 17:52:34 2018
* by pycrc v0.9.1, https://pycrc.org
* using the configuration:
* - Width = 14
* - Poly = 0x2757
* - XorIn = Undefined
View sinc_test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@NT7S
NT7S / ZeroUARTFlowControl.ino
Created Dec 15, 2017
Empyrean/Arduino Zero USB-UART Flow Control
View ZeroUARTFlowControl.ino
uint8_t led = LED_BUILTIN;
void setup() {
SerialUSB.begin(57600);
pinMode(led, OUTPUT);
}
void loop() {
if(SerialUSB.rts()) {
digitalWrite(led, HIGH);
View KeyboardControllerEmpyrean.ino
/*
Keyboard Controller Example
Shows the output of a USB Keyboard connected to
the Native USB port on an Arduino Due Board.
created 8 Oct 2012
by Cristian Maglie
http://arduino.cc/en/Tutorial/KeyboardController
@NT7S
NT7S / DACZero.ino
Created Jan 18, 2017
DAC Sine Wave on Empyrean/Arduino Zero
View DACZero.ino
uint8_t sine_wave[256] = {
0x80, 0x83, 0x86, 0x89, 0x8C, 0x90, 0x93, 0x96,
0x99, 0x9C, 0x9F, 0xA2, 0xA5, 0xA8, 0xAB, 0xAE,
0xB1, 0xB3, 0xB6, 0xB9, 0xBC, 0xBF, 0xC1, 0xC4,
0xC7, 0xC9, 0xCC, 0xCE, 0xD1, 0xD3, 0xD5, 0xD8,
0xDA, 0xDC, 0xDE, 0xE0, 0xE2, 0xE4, 0xE6, 0xE8,
0xEA, 0xEB, 0xED, 0xEF, 0xF0, 0xF1, 0xF3, 0xF4,
0xF5, 0xF6, 0xF8, 0xF9, 0xFA, 0xFA, 0xFB, 0xFC,
0xFD, 0xFD, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFE, 0xFE, 0xFD,
View si5351_vcxo.ino
/*
* si5351_vcxo.ino - Example for using the Si5351B VCXO functions
* with Si5351Arduino library
*
* Copyright (C) 2015 Jason Milldrum <milldrum@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
You can’t perform that action at this time.