old sparkfun serial 20x2 printing from terminal

dug out the ole arduino and trying to relearn old projects, was running off sparksoftlcd library, jus shoot me an example to work off to print on lcd from terminal

the sparksoftlcd library examples won't even compile without a bunch of errors

where is the tutiorial on library placement, or how to properly use them?

This report would have more information with "Show verbose output during compilation" enabled in File > Preferences. Arduino: 1.0.6 (Windows Vista), Board: "Arduino Uno" In file included from C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Arduino.h:25, from Blink.ino:30: c:/program files (x86)/arduino/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double' c:/program files (x86)/arduino/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected )' before 'double' c:/program files (x86)/arduino/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected)' before 'double'

Post your code and a link to any libraries used. You're likely missing a ; somewhere.

Libraries should be in a folder under your File:Preferences path.

got it to work finally, i got to load it by arduino, sketchbook, libraries, sparksoft lcd, example, lcd_example, otherwise it doesn’t get the library i guess, but still looking for a terminal to display code

[quote]

[color=#7E7E7E]/* [/color]
[color=#7E7E7E]  Example of using the SparkSoftLCD library for the Arduino[/color]
[color=#7E7E7E]  [/color]
[color=#7E7E7E]  2010 C. A. Church [/color]
[color=#7E7E7E]     http://openmoco.org/    [/color]
[color=#7E7E7E]*/[/color]

  

#include [color=#006699]"SparkSoftLCD.h"[/color]

  [color=#7E7E7E]// LCD transmit pin[/color]
#define LCD_TX 2

[color=#CC6600]SparkSoftLCD[/color] lcd = [color=#CC6600]SparkSoftLCD[/color](LCD_TX);

[color=#CC6600]void[/color] [color=#CC6600][b]setup[/b][/color]() { 

   [color=#7E7E7E]// setup lcd[/color]
   
 [color=#CC6600]pinMode[/color](LCD_TX, [color=#006699]OUTPUT[/color]);
 lcd.[color=#CC6600]begin[/color](9600);
 lcd.[color=#CC6600]clear[/color]();
 
   [color=#7E7E7E]// hidden cursor[/color]
 lcd.[color=#CC6600]cursor[/color](0);
 
 show_setup();
 
 [color=#CC6600]delay[/color](1000);
 
}

[color=#CC6600]void[/color] [color=#CC6600][b]loop[/b][/color]() {

    lcd.[color=#CC6600]clear[/color]();
    
      [color=#7E7E7E]// block-style blinking cursor[/color]
    lcd.[color=#CC6600]cursor[/color](2);
    
    lcd.[color=#CC6600]print[/color]([color=#006699]"Arming"[/color]);
    [color=#CC6600]delay[/color](1500);
    
    lcd.[color=#CC6600]clear[/color]();
    
      [color=#7E7E7E]// hidden cursor[/color]
    lcd.[color=#CC6600]cursor[/color](0);
    
    lcd.[color=#CC6600]print[/color]([color=#006699]"16"[/color]);
    lcd.[color=#CC6600]cursorTo[/color](2,1);
    lcd.[color=#CC6600]print[/color]([color=#006699]"---------------*"[/color]);
    
    [color=#CC6600]delay[/color](1000);
    
    [color=#CC6600]for[/color]( [color=#CC6600]byte[/color] i = 15; i >= 1; i-- ) {
        
        lcd.[color=#CC6600]scroll[/color]([color=#CC6600]false[/color]);
        
        [color=#7E7E7E]// as we scroll left, we need to move our cursor to[/color]
        [color=#7E7E7E]// the right to continue to show our countdown[/color]
        [color=#7E7E7E]//[/color]
        [color=#7E7E7E]// in this way, we achieve the sense that a fuse is getting[/color]
        [color=#7E7E7E]// shorter...[/color]
        lcd.[color=#CC6600]cursorTo[/color](1,1 + (16 - i) );
        lcd.[color=#CC6600]print[/color](i, [color=#006699]DEC[/color]);
        
        [color=#CC6600]delay[/color](1000);
     }
    
      [color=#7E7E7E]// make last bit disappear[/color]
    lcd.[color=#CC6600]scroll[/color]([color=#CC6600]false[/color]);
    [color=#CC6600]delay[/color](500);
    lcd.[color=#CC6600]clear[/color]();
    lcd.[color=#CC6600]cursorTo[/color](2, 10);
    lcd.[color=#CC6600]print[/color]([color=#006699]"(boom)"[/color]);
    
    [color=#CC6600]delay[/color](2000);
    
}



[color=#CC6600]void[/color] show_setup() {
  
 lcd.[color=#CC6600]print[/color]([color=#006699]"I am setting up!"[/color]);
 
   [color=#7E7E7E]// send cursor to 2nd row, first column[/color]
 lcd.[color=#CC6600]cursorTo[/color](2,1);
 
 [color=#CC6600]delay[/color](500);
 
 [color=#CC6600]for[/color] ([color=#CC6600]byte[/color] i = 0; i <= 15; i++ ) {
     [color=#CC6600]delay[/color](150);
       [color=#7E7E7E]// scroll display to the right[/color]
     lcd.[color=#CC6600]scroll[/color]([color=#CC6600]true[/color]);
 }
 
 [color=#CC6600]delay[/color](1500);
 lcd.[color=#CC6600]print[/color]([color=#006699]"One more moment"[/color]);
 
 
 [color=#CC6600]for[/color] ([color=#CC6600]byte[/color] i = 0; i <= 15; i++ ) {
     [color=#CC6600]delay[/color](150);
       [color=#7E7E7E]// scroll back to the left, revealing our new text[/color]
     lcd.[color=#CC6600]scroll[/color]([color=#CC6600]false[/color]);
 }
 
}
   





[/quote]