Skip to content

Instantly share code, notes, and snippets.

Natalie Freed nataliefreed

Block or report user

Report or block nataliefreed

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nataliefreed
nataliefreed / test.pde
Last active Dec 19, 2015
this is a test
View test.pde
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
@nataliefreed
nataliefreed / GettingStartedCapturePS3Eye.pde
Last active Dec 24, 2015
Small change to GettingStartedCapture, a Processing example from the Video library, to switch camera to external camera (a PS3 Eye). Intended as a project starting point for students of Building and Programming Intelligent Machines at LWHS, Fall 2013.
View GettingStartedCapturePS3Eye.pde
/**
*
* Getting Started with Capture.
*
* Reading and displaying an image from an attached Capture device.
*
* Edit 10-1-13 by nataliefreed: uses external camera (PS3 Eye)
*
*/
View SynchronizingMultipleCounters.ino
/*
Natalie Freed, 10-3-2013
Example of multiple counters increasing at different rates, for LWHS Building and Programming Intelligent Machines Fall 2013.
To use, open Serial Monitor to view output.
*/
@nataliefreed
nataliefreed / SynchronizingCounterAndModulo.ino
Created Oct 3, 2013
Example of using a single counter and the modulo operator (%) to time multiple events.
View SynchronizingCounterAndModulo.ino
/*
Natalie Freed, 10-3-2013
Example of using a single counter and the modulo operator (%) to time multiple events.
For LWHS Building and Programming Intelligent Machines Fall 2013.
To use, open Serial Monitor to view output.
@nataliefreed
nataliefreed / SynchronizingMillis.ino
Created Oct 3, 2013
Example of using millis() function to time multiple events happening at different rates.
View SynchronizingMillis.ino
/*
Natalie Freed, 10-3-2013
Example of using millis() function to time multiple events happening at different rates.
For LWHS Building and Programming Intelligent Machines Fall 2013.
To use, open Serial Monitor to view output.
@nataliefreed
nataliefreed / MMA7361.ino
Last active Dec 30, 2015
Arduino MMA7361 accelerometer (Sparkfun breakout https://www.sparkfun.com/products/9652)Implementation of the math from this excellent guide: http://www.starlino.com/imu_guide.html
View MMA7361.ino
/*
//
// Code for MMA7361 accelerometer (Sparkfun breakout https://www.sparkfun.com/products/9652)
// Natalie Freed
// 12-5-2013
//
// Implementation of the math from this excellent guide: http://www.starlino.com/imu_guide.html
//
//
*/
@nataliefreed
nataliefreed / turtle.pde
Last active Jan 3, 2016
Turtle Graphics in Processing: This program shows another way to think about moving through Processing's coordinate system, inspired by Logo. Instead of placing points on a grid, you can imagine yourself as being somewhere on the grid, facing a direction. You can move forward or turn. The drawn line follows behind you.
View turtle.pde
// Turtle Graphics in Processing
// Natalie Freed, February 2013
// This program shows another way to think about moving
// through Processing's coordinate system. Instead of placing
// points on a grid, you can imagine yourself as being somewhere
// on the grid, facing a direction. You can move forward or turn.
// The drawn line follows behind you.
PVector loc; //current location
float orientation; //current orientation
@nataliefreed
nataliefreed / TinkerableArray.pde
Last active Aug 29, 2015 — forked from anonymous/TinkerableArray.pde
Sketch for experimenting with image arrays in Processing.
View TinkerableArray.pde
int rows = 10;
int columns = 12;
int[] circles = new int[rows*columns];
int index;
int spacing = 50;
int circleSize = 6;
void setup()
{
@nataliefreed
nataliefreed / speedcontrol.ino
Last active Aug 29, 2015
Robotic arm speed control
View speedcontrol.ino
/*
Robotic arm speed control demo
Natalie Freed, Jan 2014
*/
#include <Servo.h>
Servo base, shoulder, elbow, wrist, gripper;
@nataliefreed
nataliefreed / DraggableExample.pde
Last active Aug 29, 2015
Draggable objects and handler example for Processing 2.0 Natalie Freed, March 2014
View DraggableExample.pde
/*
Draggable objects and handler example for Processing 2.0
Natalie Freed, March 2014
*/
DraggableHandler circles;
void setup()
{
size(500, 500);
You can’t perform that action at this time.