I hereby claim:
- I am shawngrimes on github.
- I am shawngrimes (https://keybase.io/shawngrimes) on keybase.
- I have a public key whose fingerprint is 8C8B F893 1135 A62F 33BC B48F 7A42 4C82 0E4C 6058
To claim this, I am signing this object:
| int ledPin=9; //Variable to store pin of LED | |
| int potentPin=A0; //Variable to store pin of potentiometer | |
| int potentValue=0; //Variable to store last known value of potentiometer | |
| int brightnessValue=0; //Variable to store LED brightness | |
| void setup() { | |
| // put your setup code here, to run once: | |
| Serial.begin(9600); //Setup serial console | |
| pinMode(ledPin, OUTPUT); //Setup LED pin for output | |
| } |
| int ledPin=9; //Variable to store pin of LED | |
| int potentPin=A0; //Variable to store pin of potentiometer | |
| int potentValue=0; //Variable to store last known value of potentiometer | |
| int brightnessValue=0; //Variable to store LED brightness | |
| void setup() { | |
| // put your setup code here, to run once: | |
| pinMode(ledPin, OUTPUT); //Setup LED pin for output | |
| } |
| int ledPin=9; //Store LED pin number in this variable | |
| void setup() { | |
| //No need for setup this time | |
| pinMode(ledPin,OUTPUT); //Setup pin 9 for OUTPUT | |
| } | |
| void loop() { | |
| analogWrite(ledPin,0); //Turn the LED on pin 9 off | |
| delay(500); //Wait 500 milliseconds |
| int ledPin=13; //This is a variable to store the pin number that we want the LED on | |
| // the setup function runs once when you press reset or power the board | |
| void setup() { | |
| // initialize digital pin as an output. | |
| pinMode(ledPin, OUTPUT); | |
| } | |
| // the loop function runs over and over again forever | |
| void loop() { |
I hereby claim:
To claim this, I am signing this object:
| if( in.isMonitoring() ){ | |
| ellipse(50,400,55,55); | |
| } |
| import ddf.minim.*; | |
| import ddf.minim.analysis.*; | |
| float myOpacity; | |
| float getVolume; | |
| int mappedVolume; | |
| Minim minim; | |
| AudioInput in; |
| ----------------------------------------------------------------------------------------- | |
| -- | |
| -- main.lua | |
| -- | |
| ----------------------------------------------------------------------------------------- | |
| -- Your code here | |
| local myMole=display.newImageRect("images/mole_1.png",178,200) |
| --load your sound effect near the beginning of your file | |
| local mySoundEffect = audio.loadSound("mySound.mp3") | |
| --To play the sound effect, call this whenever you want to play it | |
| audio.play(mySoundEffect) |