Compiling error error: stray '$' in program

Everything about programming the platform and using the Waspmote API
Post Reply
nguillou
Posts: 41
Joined: Wed Jun 05, 2019 9:58 am
Company: ANIAN

Compiling error error: stray '$' in program

Post by nguillou » Fri Sep 20, 2019 8:29 am

Hi,

I have a Smart Water Plug&sense and just tried to do the calibration procedure for EC, PH and DO. The smart water sensor board document suggest to
upload a sketch file for each sensor (www.libelium.com/development/waspmote/e ... or-reading). I tried to compile each file for the 3 sensors and have more or less same type errors :

sw_05_conductivity_sensor_reading:91: error: stray '$' in program

sw_05_conductivity_sensor_reading\sw_05_conductivity_sensor_reading.pde:92:71: warning: missing terminating ' character

-4Qm ._wmQWWWW!'


sw_05_conductivity_sensor_reading\sw_05_conductivity_sensor_reading.pde:93:68: warning: missing terminating " character

sw_05_conductivity_sensor_reading\sw_05_conductivity_sensor_reading.pde:153:2309: warning: character constant too long for its type

...

exit status 1
stray '$' in program

etc, etcc...pages

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Compiling error error: stray '$' in program

Post by libelium-dev » Fri Sep 20, 2019 1:35 pm

Hi,

What is the IDE version? What is your OS?

Could you please share with us some images or videos about the problem?

Regards

nguillou
Posts: 41
Joined: Wed Jun 05, 2019 9:58 am
Company: ANIAN

Re: Compiling error error: stray '$' in program

Post by nguillou » Sat Sep 21, 2019 4:39 am

I am using waspmote-pro-ide-v06.15

I downloaded the code from Libelium following URL :
http://www.libelium.com/development/was ... r-reading/

http://www.libelium.com/development/was ... r-reading/

http://www.libelium.com/development/was ... r-reading/

I run IDE on my laptop windows 10 then select any of the sketch above. The log file is 352 pages ...

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Compiling error error: stray '$' in program

Post by libelium-dev » Mon Sep 23, 2019 8:41 am

Hi,

What is the OS of your computer?

Could you please share some images of the waspmote IDE once you copy the codes?

Regards


libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Compiling error error: stray '$' in program

Post by libelium-dev » Tue Sep 24, 2019 9:33 am

Hi,

We have just checked that the downloaded code isn't correct and it includes HTML code. Please try to copy the example from the website instead of download it. You can also use the examples from the IDE, you can find them clicking on the Open button

Regards

nguillou
Posts: 41
Joined: Wed Jun 05, 2019 9:58 am
Company: ANIAN

Re: Compiling error error: stray '$' in program

Post by nguillou » Wed Sep 25, 2019 2:42 pm

Thanks. That works

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Compiling error error: stray '$' in program

Post by libelium-dev » Wed Sep 25, 2019 2:55 pm

Simply inform you that we have solved the problem by downloading the .pde files from the website.

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest