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
int ledPin1 = 11; | |
int ledPin2 = 12; | |
int ledPin3 = 13; | |
int ledPin4 = 10; | |
int ledPin5 = 9; | |
int ledPin6 = 8; | |
void setup() { | |
pinMode(ledPin1,OUTPUT); | |
pinMode(ledPin2,OUTPUT); | |
pinMode(ledPin3,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
#include <Servo.h> | |
String myName; | |
int treasureX, treasureY; | |
int inputX, inputY; | |
int nearness; | |
int nearnessX, nearnessY; | |
int servoAngle = 1; | |
const int servoMin = 130; |
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 processing.serial.*; | |
import cc.arduino.*; | |
Arduino arduino; | |
void setup() { | |
size(400, 400); | |
println(Arduino.list()); | |
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 <Servo.h> | |
#include <Wire.h> | |
#include <Firmata.h> | |
#define I2C_WRITE B00000000 | |
#define I2C_READ B00001000 | |
#define I2C_READ_CONTINUOUSLY B00010000 | |
#define I2C_STOP_READING B00011000 | |
#define I2C_READ_WRITE_MODE_MASK B00011000 | |
#define I2C_10BIT_ADDRESS_MODE_MASK B00100000 |
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 processing.sound.*; | |
import processing.serial.*; | |
import cc.arduino.*; | |
HighPass highPass; | |
// A sound file object | |
SoundFile song; | |
Arduino arduino; | |
Serial port; // The serial port // InvenSense Teapot packet |
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
int xRead; | |
int yRead; | |
int zRead; | |
void setup() { | |
Serial.begin(9600); | |
pinMode(9, OUTPUT); | |
pinMode(10, OUTPUT); | |
pinMode(11, 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
// | |
// circles.cpp | |
// circlesinsquares | |
// | |
// Created by Ana Sofia Remis on 3/14/16. | |
// | |
// | |
#include "ofMain.h" | |
#include "circles.hpp" |
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
// | |
// Circle.cpp | |
// Cathairs | |
// | |
// Created by Ana Sofia Remis on 3/15/16. | |
// | |
// | |
#include "Circle.hpp" |
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
// | |
// Forma.cpp | |
// midterm | |
// | |
// Created by Ana Sofia Remis on 3/26/16. | |
// | |
// | |
#include "Forma.hpp" | |
void Forma::formata(float diameter, float circumference, float angle, float size, float maxSize){ |
OlderNewer