#include <IRremote.h> int RECV_PIN = 7; int LED = 13; int speakerPin = 3; IRrecv irrecv(RECV_PIN); decode_results results; void setup() {   Serial.begin(9600);   irrecv.enableIRIn(); // Start the receiver   pinMode(LED, OUTPUT); } void loop() {   if (irrecv.decode(&results))
int LEDGreen=9; int LEDBlue=10; int LEDRed=11; int sensorPin=0; int val; void setup(){   Serial.begin(9600);   pinMode(LEDRed,OUTPUT);   pinMode(LEDGreen,OUTPUT);   pinMode(LEDBlue,OUTPUT); } void loop(){   val=map(analogRead(sensorPin),0,1024,0,900);  
int speakerPin = 9; int length = 15; // the number of notes char notes[] = "ccggaagffeeddc "; // a space represents a rest int beats[] = { 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 4 }; int tempo = 300; void playTone(int tone, int duration) {   for (long i = 0; i &lt; duration