i'm doing the original tut by heather and when i go to compile the first sketch, just to test the lcd, it won't compile. i get this error:
'void pinMode(uint8_t, uint8_t)' here
LiquidCrystal.cpp:9: error: declaration of C function 'void digitalWrite(int, int)' conflicts with
/Applications/arduino-0011/hardware/cores/arduino/wiring.h:98: error: previous declaration 'void digitalWrite(uint8_t, uint8_t)' here
LiquidCrystal.cpp:10: error: declaration of C function 'int digitalRead(int)' conflicts with
/Applications/arduino-0011/hardware/cores/arduino/wiring.h:99: error: previous declaration 'int digitalRead(uint8_t)' here
which, as i understand it means that i need to include the lib, right? funny thing is, the lib has been imported and referenced in the sketch:
#include <LiquidCrystal.h>
LiquidCrystal lcd = LiquidCrystal(); //create a LiquidCrystal object to control an LCD
void setup(void){
lcd.init(); //initialize the LCD
digitalWrite(13,HIGH); //turn on an LED for debugging
}
void loop(void){
delay(1000); //repeat forever
}
i'm completely new at this, so what am i doing wrong?
thanks
