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 <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; |
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> | |
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.