Skip to content

Instantly share code, notes, and snippets.

View Hau-Yuan's full-sized avatar

Hau Yuan Hau-Yuan

  • New York
View GitHub Profile
@Hau-Yuan
Hau-Yuan / light_withbutton_serial.ino
Created January 15, 2018 04:12
WorryCapsuleTreeArduinoCode
#include <Adafruit_NeoPixel.h>
int neoPixelPin1 = 30;
int neoPixelPin2 = 32;
int neoPixelPin3 = 34;
int numPixels = 30;
//RGB_light1
int redPin = 9;
int greenPin = 10;
int bluePin = 11;
@Hau-Yuan
Hau-Yuan / index.html
Last active January 15, 2018 04:13
WorryCapsuleTreeJavaScriptCode
<!DOCTYPE html><html><head>
<script src="p5.min.js"></script>
<script src="p5.dom.min.js"></script>
<script src="p5.sound.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8">
</head>
<body>
<script src="sketch.js"></script>
<script src="p5.speech.js"></script>