Go Down

Topic: Problem with decimal numbers.... (Read 207 times) previous topic - next topic


Sep 23, 2014, 10:35 am Last Edit: Sep 23, 2014, 10:45 am by machado607 Reason: 1
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: [Select]

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!


Hi machado607

Try this ...

Code: [Select]
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)



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


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!

Go Up