Forum Software Ferduino code error stamps and density code

error stamps and density code  [SOLVED]


Post Number:#1 Post Fri Jan 13, 2017 5:57 pm
Posts: 31
Topics: 9
Solve rating: 0
Joined: Tue Jan 10, 2017 2:19 pm
Topics: 9
Age: 41
Gender: None specified
National Flag:
Brazil
how solve this error?


C:\Users\Marcelo\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Webserver.ino: In function 'check_parametro_densidade()':

C:\Users\Marcelo\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Stamps_V4.ino:142:41: warning: iteration 14 invokes undefined behavior [-Waggressive-loop-optimizations]

         sensorstring[i] = Serial3.read();

                                         ^

C:\Users\Marcelo\Desktop\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta-master\Ferduino_with_webcontrol_beta\Stamps_V4.ino:140:7: note: containing loop

       for (byte i = 1; i <= 15; i++)

       ^


-------------------------------- Last edited Fri Jan 13, 2017 7:42 pm --------------------------------

I comment the lines

//#define STAMPS_V4X     // Comente esta linha para usar Stamps EZO
//#define STAMPS_EZO     // Descomente esta linha para usar Stamps EZO

and uncoment this
// Comment the line below if you haven't a stamp for tank pH.
#define USE_STAMP_FOR_TANK_PH // Comente esta linha se você não tem um "stamp" para o pH do aquário.


the error has gone



Using only this
#define USE_STAMP_FOR_TANK_PH

Post Number:#2 Post Fri Jan 13, 2017 7:08 pm
Posts: 31
Topics: 9
Solve rating: 0
Joined: Tue Jan 10, 2017 2:19 pm
Topics: 9
Age: 41
Gender: None specified
National Flag:
Brazil
after compile....
another error messages

the sketch use 172.134 bytes (67%) the  storage for programs. The maximum is 253.952 bytes.
Global variables use 4.509 bytes (55%) of  dynamic memmories, leaving 3.683 bytes for local variables. the maximum is 8.192 bytes.

Post Number:#3 Post Fri Jan 13, 2017 7:18 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

Go to Tools > Board and select Arduino/Genuino Mega 2560

-------------------------------- Last edited Fri Jan 13, 2017 8:21 pm --------------------------------

You can leave this line commented if you haven't a pH stamp from Atlas Scientific.

#define USE_STAMP_FOR_TANK_PH


-------------------------------- Last edited Fri Jan 13, 2017 8:25 pm --------------------------------

the sketch use 172.134 bytes (67%) the  storage for programs. The maximum is 253.952 bytes.
Global variables use 4.509 bytes (55%) of  dynamic memmories, leaving 3.683 bytes for local variables. the maximum is 8.192 bytes.


This is not an error only an information.

-------------------------------- Last edited Fri Jan 13, 2017 8:32 pm --------------------------------

Another thing, warnings are not errors can be ignored.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#4 Post Sat Jan 14, 2017 10:03 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

I think this problem was solved so I'll close.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.




  • Similar Topics
    Replies
    Views
    Last post

Return to Ferduino code





Who is online

Users viewing this topic: No registered users and 1 guest

cron