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.*; | |
int facesNum = 0; | |
PFont f; | |
float liters = 0; | |
float facesTimer; | |
int lastFaces; | |
Serial myPort; // Create object from Serial class |
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 people; | |
int state; | |
#define trigPin 13 | |
#define echoPin 12 | |
#define trigPin2 8 | |
#define echoPin2 7 | |
int timer = 0; | |
int timer2 = 0; |
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
// API to acess weather information | |
var apikey = "28167fb511851659e54ae51574586b15"; | |
// defining current city and below data, sunrise time, sunset time, current time and quantity of clouds, | |
//information that is gonna be retrieved using Open Weather Map API. | |
var currentCity = "Toronto"; | |
var data; | |
var sunrise; | |
var sunset; | |
var currentTime; |
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
/* | |
* Do Park | |
* Reno Almeida | |
OCAD University | |
Created on March 30, 2016 | |
*/ |
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
{ | |
"boxes" : [ { | |
"box" : { | |
"maxclass" : "comment", | |
"text" : "the 4th sensor changes the value of delay and feedback.", | |
"linecount" : 2, | |
"numinlets" : 1, | |
"numoutlets" : 0, | |
"patching_rect" : [ 415.5, 793.833435, 286.916748, 42.0 ], | |
"fontname" : "Avenir Next Medium Italic", |
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
/* | |
Zen | |
* Do Park | |
* Reno Almeida | |
OCAD University | |
Created on March 1st, 2016 | |
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
/* | |
Zen | |
* Do Park | |
* Reno Almeida | |
OCAD University | |
Created on March 1st, 2016 |
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
/* | |
By Reno Almeida. Based on the following sketch: http://openprocessing.org/sketch/223991 | |
*/ | |
//variable in which the 2 dimensional noise function is applied | |
float time = 0; | |
void setup() { |
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
/* | |
By Reno Almeida. | |
*/ | |
//creating an Array of Circles, a class created in this sketch | |
Circles[] circles; | |
//blue changes the color of shapes and distance, the value |
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
/* | |
Sortilege v. 1 | |
Displaying texts in LCD display. | |
*/ | |
#include <SPI.h> | |
//Add the SdFat Libraries |
NewerOlder