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
import { useReducer, Dispatch } from "react"; | |
export enum USE_UNDO_REDUCER_TYPES { | |
undo = "UNDO", | |
redo = "REDO", | |
} | |
export type UndoRedoAction = { | |
type: USE_UNDO_REDUCER_TYPES; | |
}; | |
export type HistoryType<T> = { |
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
#include <Wire.h> | |
#define ADDRESS 0x21 | |
void setup(){ | |
Wire.begin(); | |
Serial.begin(9600); | |
while(!Serial); | |
calibrate(); | |
} |
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
/* | |
* | |
* MittMollan | |
* Created by PirateCheese | |
* Modified and tested by X-Y | |
* | |
* Note: IR ranger is generating a lot noise for pot. | |
* No Calibration for LDR. | |
* Servo working, weird enough. | |
* |
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
/* | |
Galileo Sequencer | |
This sketch is used for a demo of the Intel Galileo board. When it was launched in Rome Maker fair 2013, | |
we made a sequencer based on Galileo, SparkFun MP3 shield and the sketch ReadMP3fromSD originally created | |
by Nathan Seidle. | |
The sequencer has 2 knobs, 4 buttons and 8 leds on its interface. When activated, it loops through and | |
plays 8 segments of sound samples repeatedly. At the mean time, the LEDs will light up according to which | |
segment you’re listening to. You can use the buttons and knobs to customize and add creativity into the sequence. |