Skip to content

Instantly share code, notes, and snippets.

<pre><code>
----------begin_max5_patcher----------
4113.3oc6cs0iihbE94t+UTxZdHQwiSckK4gncxNaTVoDsQJi1GxNQsvP0tY
FL3.39xtZyu8TW.L3FrKrMfmc2QiraWT.myWcpyk5bn3mt8lYKSdlmMC7m.+
.3la9oau4FUSxFto322Las2y9QdYptMKl+TxxOMat9P47myUM+mAvx1R1lGw
yyeYCWecmEFK5y+o3na7x8eHLd0cob+bcGvNVKfyATGj7Kr6Bl3S7BX04Duc
cXr3Zpn.bQigAparfXdK1d1tdpu8pthJZMK+kHEwLalrge91akeL+733bvRv
aQcxzK8hWMatALuMRxuDBVx7DGEDzIyiZg4sZm4wCMye97NQOVWx6z9y6zAk
22tdIOsStTxgJN8vx1LIKRoDIywfuhE23k5slmySuiG6sTSsPSYexDLz646u
c8YMa2QgHPMhXc3AcRKbMbHmsmmrZk3zOYtyxVwVH0WXZ4mWjwaj6Px4q4YY
//Tiri Midi controller for Tom Igoe's tangible interaction class 2017
//inspied by Tom Igoe
#include <SoftwareSerial.h>
const int switchPin = 10; // The switch is on Arduino pin 10
const int LEDpin = 13; // Indicator LED
// Variables:
/*
KeyboardControl for music controller
tangible workshop's assignments - wed
using https://www.arduino.cc/en/Reference/KeyboardModifiers
https://www.arduino.cc/en/Reference/ASCIIchart
inspired by Tom Igoe
and help from Regina and Sebastian <3
*/
#include "Keyboard.h"
//Tangible Interaction - W2 - Lighting Controller
//Tom Igoe
#include <Adafruit_NeoPixel.h>
#define PIN 6
Adafruit_NeoPixel strip = Adafruit_NeoPixel(1, PIN, NEO_GRB + NEO_KHZ800);
@Tiriree
Tiriree / Game controller with HID output
Created February 1, 2017 06:31
Game controller with HID output for Tangible Interaction Tom IGOR
/*
KeyboardControl for Game controller
tangible workshop's assignments - wed
using https://www.arduino.cc/en/Reference/KeyboardModifiers
inspired by Tom Igoe
and help from Lola <3
*/
#include "Keyboard.h"
// set pin numbers for the five buttons:
{
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "low pass filter for the repetitions",
"numoutlets" : 0,
"patching_rect" : [ 158.5, 567.0, 179.0, 20.0 ],
"id" : "obj-115",
"style" : "",
"numinlets" : 1
----------begin_max5_patcher----------
3878.3oc4cs0bihbE9Y6eEcomxlRqF5abIOkolTI07PpTUl4sY1xEBZKyNHP
AZ4wd2Zme6ou.HPV.MXIL16jrVR.MbNemK84b5K76We0h0oOvxW.9afu.t5p
e+5qtRcH4Atp32WsXq+CAw94pKawswoI62tXo9T674A2Ekr4lLV.WeavNzUP
aaGh6R.zxdkk3eXw2oVqrVBPnUVfeon0haTTRLiqtyvhCFEpdNoq+0eFhO7b
x72x3rraXI9qiYxKw5vcIcOu71fJN5soYa8UjjcwQx4Opa3hx6ptY7G2wzjt
3DfEq8S1r.7Kxq3Ot9Z4eVd1fFB9.zPrVYK9mCZbPC7MFzX4b.ZrcVgE+i5M
Jng9pBY3oa1HdBcgLVqnKAEPBQ.FDEjPF.jLB6Hn4.PTBeb7dB66Bpq79xYO
nX4E6.4rrH+3fzslpx3XU4mwEMbioEmDBvCSGP8eUOSEAyxJ39B1WngEEytm
kkGklTiXtZg+tc0N7U0ZhDy90T0MxYY0ghRzGBUcnL18QksmVcT+LArwEX19
//////
// Code based on Sparkfun SFE_BMP180 library example
// Testing stretch prototype sensor
//////
/* SFE_BMP180 library example sketch
https://www.sparkfun.com/products/11824
Hardware connections: