Skip to content

Instantly share code, notes, and snippets.

@facultymatt
facultymatt / calibrations.md
Last active March 18, 2024 05:39
openFrameworks Kinect & projector calibration

Kinect/ projector calibration and mapping:

Map Projections to moving objects in real time.

Uses the Kinect to track and locate objects. Might be overkill for this project since the table doesn't move. However might be cool to use in reverse to NOT project onto people who are interacting with the table: http://chparsons.com.ar/#camara_lucida

Kinect projector calibration

Another example that might be overkill since the table is static.

@elktros
elktros / Arduino_Interrupts_Button_Interrupt_Debounce.ino
Created June 29, 2018 08:04
Interrupt based Button sketch with debounce for Arduino Interrupts Tutorial.
int ledPin = 13;
int buttonPin = 2;
int ledToggle;
int previousState = HIGH;
unsigned int previousPress;
volatile int buttonFlag;
int buttonDebounce = 20;
void setup()
@todbot
todbot / USBH_MIDI_dump_msg_loss.ino
Created March 10, 2020 22:42
Demonstrate MIDI message loss by comparing received note-on vs note-off messages
/*
*******************************************************************************
* USB-MIDI dump utility
* Copyright (C) 2013-2017 Yuuichi Akagawa
*
* for use with USB Host Shield 2.0 from Circuitsathome.com
* https://github.com/felis/USB_Host_Shield_2.0
*
* This is sample program. Do not expect perfect behavior.
*******************************************************************************