Forum Software Ferduino code Error when trying to load code

Error when trying to load code  [SOLVED]


Post Number:#1 Post Sat Jun 07, 2014 10:14 pm
Posts: 21
Topics: 5
Images: 0
Solve rating: 0
Joined: Sat May 03, 2014 10:00 pm
Topics: 5
Age: 60
Gender: Male
National Flag:
Canada
Fernando

I get the following error code when I try to upload the Freduino with Web Control

variable or field 'write CRLF' declared void

and this line of code is highlighted orange const byte solenoide1Pin = 85; // P5 // Connects to spare freshwater.

I have tried reloading the libraries as instructed in the forum but still no change I know I must have missed a step somewhere but I don't know where to start.

Thank You
Donato

Post Number:#2 Post Sun Jun 08, 2014 9:46 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

You checked others topics here?

This by example: viewtopic.php?f=8&t=44

Have a print screen of the error?

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#3 Post Sun Jun 08, 2014 6:03 pm
Posts: 21
Topics: 5
Images: 0
Solve rating: 0
Joined: Sat May 03, 2014 10:00 pm
Topics: 5
Age: 60
Gender: Male
National Flag:
Canada
Fernando I see some of the files are missing in the library

I now assume I need to use the libraries from the original Ferduino code and add well as the new ones to the 1.0.5-r2 library folder ?
Regards
Donato

Post Number:#4 Post Sun Jun 08, 2014 6:09 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Fernando I see some of the files are missing in the library

I now assume I need to use the libraries from the original Ferduino code and add well as the new ones to the 1.0.5-r2 library folder ?
Regards
Donato


Exactly.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#5 Post Sun Jun 08, 2014 6:15 pm
Posts: 21
Topics: 5
Images: 0
Solve rating: 0
Joined: Sat May 03, 2014 10:00 pm
Topics: 5
Age: 60
Gender: Male
National Flag:
Canada
Fernando
I still seem to have one file different
I have DS1307 but in your response to Sueur Aurelien in this post viewtopic.php?f=8&t=44
the third image shows DS1307henning do I need to change it and where do I get that file.
Thank You
Donato

Post Number:#6 Post Sun Jun 08, 2014 6:17 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Watch this video please.

video.php?mode=view&id=3
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#7 Post Sun Jun 08, 2014 6:43 pm
Posts: 21
Topics: 5
Images: 0
Solve rating: 0
Joined: Sat May 03, 2014 10:00 pm
Topics: 5
Age: 60
Gender: Male
National Flag:
Canada
Fernando

Problem solved and sketch compiled properly.
There is a problem with the English version of DS1307 File
I even tried renaming it but that did not work.
I grabbed the file from the Portuguese version 'DS1307henning' and added it to the Arduino IDE libraries Folder
and it worked.

Regards
Donato

Post Number:#8 Post Sun Jun 08, 2014 10:00 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

The library downloaded with "Ferduino_English" is in english.

To use the Ferduino with web control you need change only this line:

https://github.com/FernandoGarcia/Fedui ... ta.ino#L65

To:

#include <DS1307.h>
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#9 Post Sun Jun 08, 2014 11:55 pm
Posts: 21
Topics: 5
Images: 0
Solve rating: 0
Joined: Sat May 03, 2014 10:00 pm
Topics: 5
Age: 60
Gender: Male
National Flag:
Canada
Fernando
I tried changing line 65 to
#include <DS1307.h>
and put DS1307 file from 'Ferduino English master' back into libraries of 1.0.5-r2 but the code would not compile
I'll also noticed that even though the method I used earlier allowed me to load the code onto the mega the time is not updating and I cannot change date or time.

Thank You for your help
Donato

Post Number:#10 Post Mon Jun 09, 2014 12:07 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

You can give me a print screen of the error?

What model of RTC you have?
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#11 Post Mon Jun 09, 2014 12:46 am
Posts: 21
Topics: 5
Images: 0
Solve rating: 0
Joined: Sat May 03, 2014 10:00 pm
Topics: 5
Age: 60
Gender: Male
National Flag:
Canada
I hope the image worked if not I can email it to you
Image

the error is on line169 of code and it says
'DS1307" does not name a type
I am using the TFT shield ITDB02 with the built in RTC
Regards
Donato
Last edited by Fernando Garcia on Mon Jun 09, 2014 7:51 am, edited 1 time in total.
Reason: Image fixed.

Post Number:#12 Post Mon Jun 09, 2014 7:55 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

You used the link wrong.

Use the "direct link" on Photobucket.

You have this library in the libraries folder?

https://github.com/FernandoGarcia/Ferdu ... cas/DS1307

How many libraries "DS1307" you have in the libraries folder?

Best regards
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#13 Post Mon Jun 09, 2014 11:10 pm
Posts: 21
Topics: 5
Images: 0
Solve rating: 0
Joined: Sat May 03, 2014 10:00 pm
Topics: 5
Age: 60
Gender: Male
National Flag:
Canada
Fernando
It appears to be the correct version of DS1307 but I will have to take a closer look.
I also still seem to have a problem with the RTC. I used the test code that you posted in the forum and it installed
fine but it will not accept time and date changes. I will have to double check my solder joints, it may also be a failed component.
I am also going to be woking long days for the next 2 weeks so I have to be patient and take my time, I may not be able to respond
right away.
Thank You for all your help and time Fernando
Regards
Donato

Post Number:#14 Post Wed Jun 11, 2014 10:50 pm
Posts: 21
Topics: 5
Images: 0
Solve rating: 0
Joined: Sat May 03, 2014 10:00 pm
Topics: 5
Age: 60
Gender: Male
National Flag:
Canada
Fernando
I must have had a bad download or computer issue.
I did a fresh install on a different computer and
and edited the line like you instructed and it installed properly without issue. :-bd
Now I just have to work out the RTC issue which is either a bad component or bad soldering connection.
Thank you for all your help
Regards
Donato

Post Number:#15 Post Sat Jun 14, 2014 6:57 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Please mark this topic as solved.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#16 Post Sun Jun 15, 2014 1:43 pm
Posts: 21
Topics: 5
Images: 0
Solve rating: 0
Joined: Sat May 03, 2014 10:00 pm
Topics: 5
Age: 60
Gender: Male
National Flag:
Canada
Will do Fernando

I also solved my RTC issue by using a IC2 scanner to find the IC2 address, it was very simple and easy.
For anyone who needs it it can be found here
http://projectsfromtech.blogspot.ca/201 ... duino.html
The example shown is for a Tiny RTC DS1307 but it shoulld work for any IC2 device.
Thanks again and now on to more testing!

Regards
Donato




  • Similar Topics
    Replies
    Views
    Last post

Return to Ferduino code





Who is online

Users viewing this topic: No registered users and 1 guest

cron