I have about 6 months of experience with Arduino, and running LCD screens, Taking analog inputs, converting them to PWM outputs etc. Pretty well versed in making the Arduino do what i want. But i have a project I am currently working that the Arduino doesn't have enough analog input resolution or pwm output resolution, so i bought a couple of Maples and want to start rewriting my code to run on the Maples.
I figured it start by just getting my LCD screen working, it's a hacktronics 20x4 backlit screen, anyway i can't get it to work at all, except for the backlight.
I have it wired to these pins:
#include <LiquidCrystal.h>
LiquidCrystal lcd(34, 32, 30, 35, 33, 31, 29);
void setup() {
pinMode(36, OUTPUT); //Backlight Pins
digitalWrite(36, HIGH);
lcd.begin(16, 2); // set up the LCD's number of columns and rows
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print(millis()/1000);
}
Do i need to set the pinmodes? the LiquidCrystal.cpp does this internally, and sets all the pins to be OUTPUT
Am i doing something totally wrong?