Pages: [1]   Go Down
Author Topic: Problem with decimal numbers....  (Read 122 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I wrote this code based on other projects that are exposed on the internet including here in the forum which is based on the OSC protocol.
what happens is that when I start to compile the code this error appears

Code:
This report would have more information with
   "Show verbose output During compilation"
   enabled in File> Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Mega 2560 or Mega ADK"
sketch_sep23a.ino: 4: 17: error: too many decimal points in number
sketch_sep23a.ino: 5: 19: error: too many decimal points in number
and I've read and reread several times the code and can not find solution for this problem .. so I came to ask for help here in the forum .. follows the code of sketch

thank you in advance collaboration and attention. Thank you!

* sketch_sep23aCOMPLETE_CODE.ino (21.97 KB - downloaded 2 times.)
« Last Edit: September 23, 2014, 03:45:06 am by machado607 » Logged

Offline Offline
Edison Member
*
Karma: 62
Posts: 1035
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi machado607

Try this ...

Code:
byte myIp[] = { 192, 168, 1, 200 }; //define o IP da central de automacao
byte destIP[] = { 192, 168, 1, 4 }; //define o IP do dispositivo de comando OSC (ANDROID)

Regards

Ray

Logged

Hackscribble.  Writing about making things.
arduino@hackscribble.com | www.hackscribble.com

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ray thank you, thank you very much ... I would spend days reading and rereading and would not find the error was so blinded that I could not find output ... lol
after correcting this came another error that was solved after I includes the SPI library and now the code is working perfectly ... thank you very much once again. and when I post the video that will shoot on my project I will put you in the acknowledgments!
Thank you so much!
Logged

Pages: [1]   Go Up
Jump to: