Skip to content

Instantly share code, notes, and snippets.

View yaxiek's full-sized avatar

yashiki yaxiek

  • japan
View GitHub Profile
#include <Adafruit_NeoPixel.h>
#define NUMPIXELS 1
#define PIN 6
Adafruit_NeoPixel jellyfish = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_RGB + NEO_KHZ400);
int sensorValue1,sensorValue2,red,blue,green;
void setup(){
Serial.begin(9600);
int sensorValue1,sensorValue2,red,blue,green;
red = 0;
#include <Servo.h>
Servo servo;
int volume_pin = 0;
int servo_pin = 9;
int val;
void setup() {
servo.attach(servo_pin);
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.