Error compiling parseNewData

Forums Forum Error compiling parseNewData

This topic contains 4 replies, has 2 voices, and was last updated by  Martyn 5 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2284 Reply

    Jose Vargas

    I am in the process of building this wonderful project, many thanks to Martin for this.
    I tried to upload “dropController_14.0.0.3 _-_ Sketch” to arduino nano and it gives me the following error:

    parseNewdata.ino: In function ‘void parseNewData ()':
    parseNewdata.ino: 63: 37: error: invalid conversion from ‘const char *’ to ‘char’ [-fpermissive]
    Compilation error

    I’ve seen in the forum that someone posted that he had the same error and that changing the computer had compiled everything well, in my case I could not solve it in any way, I tried on Mac and Win7, except disabled the line 63: “receivedChars [0] =” \ 0 “;”

    My question is there is some solution, about code I have no idea.
    I have used arduino 1.6.3 and the correct drivers for my arduino, and the library “digitalIOPerformance” in its folder. In fact I have uploaded it to Arduino Nano with the correction mentioned before, but I am still waiting for pieces and I do not know if I could work without that line of code.
    It is important for the correct functioning or it is only communication of the interface

    Sorry for my English “googletranslator”

    Thank you very much for your help

    #2285 Reply

    Martyn
    Keymaster

    You need to add the digitalIOPerformance library.

    See the download page for a link.

    #2286 Reply

    Jose Vargas

    I already have it stuck in your folder, you have to do something to execute it correctly

    Thanks, Martin

    #2287 Reply

    Jose Vargas

    In this web page “https://forum.arduino.cc/index.php?topic=335810.0″ it is said that this error is due to the fact that on line 63 of parseNewData it says “receivedChars [0] =” \ 0 “; ” and should put “receivedChars [0] = ‘\ 0′;” that is, it would have to be changed (“) by (‘) in doing it it compiles well, I do not know if it would affect the correct execution of the program, when it finishes building it we will see

    Thank you very much anyway Martin for this project so excellent

    #2288 Reply

    Martyn
    Keymaster

    Thanks for reporting back.

    I’ve never had this issue but I understand that double quotes can be an issue sometimes.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Error compiling parseNewData
Your information: