- Set up your microcontroller according to the instructions at Johnny-Five
- Hook up your servo to pin 9 on the microcontroller
- Install all dependencies with
npm install
- Change the
numberOfPresses
,pressTime
, andreleaseTime
variables inindex.js
- Run
npm run start
to begin pressing your button! You'll probably have to adjust the servo horn and whatever you're holding the servo with.
This file contains 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
'''This script creates an HPGL file from curves in a Rhino file. | |
Place all curves in the model world as they would sit in relation to the origin on the plotter. | |
File will export to same location as script.''' | |
import rhinoscriptsyntax as rs | |
from datetime import datetime | |
import os.path | |
filename = rs.GetString("What would you like to name the file? (Use \"#\" for ISO 8601) ", defaultString="output#") |
This file contains 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
{ | |
"env": { | |
"browser": true, | |
"node": true | |
}, | |
"parser": "babel-eslint", | |
"extends": [ | |
"airbnb", | |
"plugin:promise/recommended", | |
"plugin:unicorn/recommended", |
I hereby claim:
- I am j0hnm4r5 on github.
- I am j0hnm4r5 (https://keybase.io/j0hnm4r5) on keybase.
- I have a public key ASARHghRxbYQRuv9rE8FfPv5XNLXErxuK_UoACGx7-Qlewo
To claim this, I am signing this object:
This file contains 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 "simple-OSC/simple-OSC.h" | |
// create OSC object | |
UDP osc; | |
// set IP addresses and ports for I/O | |
IPAddress outIp(128, 237, 246, 8); | |
unsigned int outPort = 9000; | |
unsigned int inPort = 3000; |
This file contains 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 pygame | |
from pygame.locals import * | |
from pygame import midi | |
from colors import * | |
import chiplotle | |
import sys | |
import time | |
import random |
NewerOlder