Go Down

Topic: Help with Liquidware TouchShield Slide (Read 937 times) previous topic - next topic


Not sure where to post this, but here's a start. I couldn't find the forums for Liquidware, so I figured I'd ask here.

I'm writing some code for the shield that uses strings. Whenever using Arduino Antipasto (the IDE provided by liquidware), my code will not compile, saying that "string" datatype is not recognized. I wrote some simple code to test this, and that even failed:

String hwStr;

void setup()
  hwStr = "Hello World";

void loop()


Handling the compile 1
Saving sketches...
Sketches saved.
compile(), new thread run about to sketch.compile()
     [echo] Building Arduino Uno libraries...
     [echo] Building Arduino Uno board target...
     [echo] Building sketch_jul11a for the Arduino Uno core...
    [apply] In file included from /var/folders/c5/vkkkpd41307fggjkjzxkht3r0000gn/T/build4495692454251878762.tmp/tmp/sketch_jul11a/sketch-wrapper.cpp:15:
    [apply] /var/folders/c5/vkkkpd41307fggjkjzxkht3r0000gn/T/build4495692454251878762.tmp/tmp/sketch_jul11a/sketch_jul11a.pde:4: error: 'String' does not name a type
    [apply] /var/folders/c5/vkkkpd41307fggjkjzxkht3r0000gn/T/build4495692454251878762.tmp/tmp/sketch_jul11a/sketch_jul11a.pde: In function 'void setup()':
    [apply] /var/folders/c5/vkkkpd41307fggjkjzxkht3r0000gn/T/build4495692454251878762.tmp/tmp/sketch_jul11a/sketch_jul11a.pde:9: error: 'hwStr' was not declared in this scope
    [apply] /var/folders/c5/vkkkpd41307fggjkjzxkht3r0000gn/T/build4495692454251878762.tmp/tmp/sketch_jul11a/sketch_jul11a.pde: In function 'void loop()':
    [apply] /var/folders/c5/vkkkpd41307fggjkjzxkht3r0000gn/T/build4495692454251878762.tmp/tmp/sketch_jul11a/sketch_jul11a.pde:14: error: 'hwStr' was not declared in this scope

/Applications/Antipasto.app/Contents/Resources/Java/hardware/arduino/cores/arduino/build.xml:136: The following error occurred while executing this line:
/Applications/Antipasto.app/Contents/Resources/Java/hardware/arduino/cores/arduino/src/template/build.xml:125: The following error occurred while executing this line:
/Applications/Antipasto.app/Contents/Resources/Java/hardware/arduino/cores/arduino/config/build.ccmacros.xml:92: apply returned: 1

Total time: 5 seconds

anyone else  having this trouble as well?



String is not currently part of Arduino 0018 - Antipasto 0044, as it was added to part of the core as of Arduino 0019. I too am currently looking for a solution, but as of now I suggest using char arrays.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131