This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: ftp://ftp.swpc.noaa.gov/pub/indices/events/README | |
January 28, 2011 | |
EDITED SOLAR EVENTS LISTS | |
------------------------------------------------------------------ | |
Jan 28, 2011 -- Edited Events lists from Jan 24 through 28 had bad | |
Radio and Flare date/times. The files have been corrected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# flares.awk | |
# Convert text file of solar data in the format here: | |
# https://services.swpc.noaa.gov/text/solar-geophysical-event-reports.txt | |
# to CSV | |
# | |
# see README for some info | |
BEGIN { | |
state=0 # init | |
} |
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 1 column, instead of 12 in line 4.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From : solar-geophysical-event-reports.txt | |
# Use: wget https://services.swpc.noaa.gov/text/solar-geophysical-event-reports.txt | |
# Archived data is available as listed here: | |
# wget ftp://ftp.swpc.noaa.gov/pub/indices/events/ | |
event,begin,begin_date_time,begin_epoch_time,Max,End,Obs,Q,Type,Loc/Frq,Particulars,Reg | |
4400,0000,2023-8-23-00-00-0,1692763200,0005,0022,LEA,3,FLA,N11W29,SF, | |
4400,0000,2023-8-23-00-00-0,1692763200,-1,0900,LEA,C,RSP,025-180,VI/2, | |
4400,0000,2023-8-23-00-00-0,1692763200,-1,0959,LEA,C,RSP,025-180,CTM/2, | |
4410,0120,2023-8-23-01-20-0,1692768000,0130,0138,G16,5,XRA,1-8A,C3.4, 2.9E-03 | |
4420,0243,2023-8-23-02-43-0,1692772980,0243,0406,PAL,G,RNS,245,230, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 | |
14 | |
17 | |
9 | |
16 | |
14 | |
19 | |
14 | |
7 | |
21 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Turntable/sequencer to MIDI | |
// Tracks numbered zero-relative from the hub outwards | |
#define TRACK_3_PIN 51 | |
#define TRACK_2_PIN 52 | |
#define TRACK_1_PIN 49 | |
#define TRACK_0_PIN 50 | |
#define FLASH_PIN 4 // Flash LED strips when mark detected | |
#define INTERRUPT_PIN 48 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Read 433 Mhz telemetry and display selected value via cowsay | |
# use: rtl_433 -C customary -F json | awk -f parse_rtl433.awk | |
BEGIN { | |
# fields delimited by colon or comma | |
FS=":|," | |
} | |
# if the ID matches and the maasusrement name matches, shell cowsay | |
{ | |
# Fields to examine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Read and process hall effect sensor for use as tach | |
// See https://www.allelcoelec.com/blog/A3144-Hall-Effect-Sensor-Pinout,Alternatives,and-Applications.html for hookup | |
#define HALL_EFFECT_PIN 2 | |
int sensor_value = 0 ; // output from hall sensor, low for detect | |
void setup() { | |
// put your setup code here, to run once | |
Serial.begin( 115200 ) ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
AnalogReadSerial | |
Reads an analog input on pin 0, prints the result to the Serial Monitor. | |
Graphical representation is available using Serial Plotter (Tools > Serial Plotter menu). | |
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground. | |
This example code is in the public domain. | |
https://docs.arduino.cc/built-in-examples/basics/AnalogReadSerial/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Based on code Written by Limor Fried/Ladyada for Adafruit Industries, | |
with contributions from the open source community. | |
BSD license, check license.txt for more information | |
All text above, and the splash screen below must be | |
included in any redistribution. | |
**************************************************************************/ | |
#include <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* TinySender.cpp | |
* | |
* Example for sending using TinyIR. By default sends simultaneously using all supported protocols | |
* To use a single protocol, simply delete or comment out all unneeded protocols in the main loop | |
* Program size is significantly reduced when using a single protocol | |
* For example, sending only 8 bit address and command NEC codes saves 780 bytes program memory and 26 bytes RAM compared to SimpleSender, | |
* which does the same, but uses the IRRemote library (and is therefore much more flexible). | |
* | |
* |