Show Posts
Pages: [1]
1  Using Arduino / Displays / Help with Parallax 2x16 Serial LCD? on: April 29, 2012, 05:17:44 pm
I am trying to get this LCD working, but it seems nothing I do works.
I started searching around, and I found a link, but it's dead. Link: www.cyberblob.net/parallaxlcd.zip
My code isn't working either. Here is my code:
Code:
void setup() {
  Serial.begin(9600);
}

void loop() {
  lcd_turnOn();
  lcd_backlightOn();
}

void lcd_clear() {
  Serial.write(12);
  delay(5);
}

void lcd_newLine() {
  Serial.write(13);
}

void lcd_turnOn() {
  Serial.write(22);
}

void lcd_backlightOn() {
  Serial.write(17);
}

void lcd_backlightOff() {
  Serial.write(18);
}
And on the back of the LCD device, I have switch 1 set to off, and switch 2 set to on, which is what they ask me to do in the documentation.
I've also tried changing all "Serial.write" to "Serial.print" and "Serial.println" and nothing happened still.

So does anyone know what I can do to get this thing working? The examples shown on the documents provided by Parallax are not for Arduino, and are in BASIC. Docs: http://www.parallax.com/dl/docs/prod/audiovis/SICSerialLcd.pdf

Any help would be highly appreciated!
2  Development / Suggestions for the Arduino Project / Re: IDE Suggestion... any takers? - Collasapable Code Segments on: April 26, 2012, 08:11:08 am
I see how you could want this.
I've seen a lot of people put "#region" in C# files to organize code better. I've even seen people do this in NetBeans on Java projects. A downside is using it on another IDE that fails to support that (Example: Using the NetBeans comments to collapse your code wont collapse it on Eclipse).
Personally, I wouldn't want this added, but others may.

If they were to add it, I see two ways they could implement it.
  • Preprocessor directives, such as "#region" / "#endregion" or "#collapse" / "#endcollapse".
  • Comments, such as "//@region" / "//@endregion" or "//@collapse" / "//@endcollapse".
Of course, the symbols in the comments and the names could be anything, I was just using those four as an example.

Other than making it easier for others to know what a group is for, I see no purpose for these.

Just my two cents.
3  General Category / General Discussion / Hi, I'm Marcus, and I'm new here! on: April 24, 2012, 09:15:26 pm
I saw some "Hey guys I'm new here" topics in this forum, so I figured as my first post, I would say hi!
I am Marcus, as you can see from the title, and I just got a Arduino Uno from MircoCenter, a computer store about 45 minutes away from me, and I am enjoying it smiley
I am 13, and my creative mind is going through all the possibilities of fun things I could do with this (this happened when I heard about the Raspberry Pi too).
I hope to use this to learn more about hardware, and electronics. I never got into those two areas a lot because I enjoy programming software too much smiley
Pages: [1]