Okay, why doesn't this work?
//----------------------------Libraries
#include <LiquidCrystal.h>
#include "IRremote.h"
#include "Servo.h"
//----------------------------Servo Pre-Setup
Servo AlarmServo;
//----------------------------Remote Pre-Setup
int receiver = 12;
IRrecv irrecv(receiver);
decode_results results;
//--------------------------------------LCD Pre-Setup
LiquidCrystal lcd(0, 1, 8, 9, 10, 11);
void setup() { // - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * -Void Setup()
//----------------------------LCD Setup
lcd.begin(16, 2);
lcd.print(" LD Alarm Clock");
//----------------------------Servo Setup
AlarmServo.write(5);
AlarmServo.attach(10);
//----------------------------Remote Setup
Serial.begin(9600);
irrecv.enableIRIn();
pinMode(52, OUTPUT);
}
void loop() {//- * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * -Void Loop()
//--------------------------------------------Remote Functions/Setup
if (irrecv.decode(&results)) {
switch (results.value) {
//------------------Button: 1
case 0xFF6897:
lcd.write("Howdy");
digitalWrite(52, HIGH);
break;
//------------------Remote Setup Finish
delay(250);
irrecv.resume();
}
}
}
the led turns on but the lcd display doesn't change from "LD Alarm Clock" to "howdy"