Doubts about the strings and pointers Awneil, thanks.
I understood it and I know that the name of array is the memory address of array[0]. What confused me was the example I read in an Arduino book....
Monday, 8 June 2015 - 23:37
Doubts about the strings and pointers JnK0le, thanks for your inputs.
I am going to change it for 128 and see what happens.
I continue to have doubts about pointers. I have seen in Arduino Tutorials...
Monday, 8 June 2015 - 21:15
Doubts about the strings and pointers Thanks Clawson for your reply,
What i am not sure is: when we read the (mySerial.read()) to a buffer string and later we need to use this string in another function to...
Monday, 8 June 2015 - 19:12
Passing a Vector (string) to a functions Awneil, yes, the last 2 chars are 0x0D, 0X0A.
Please apologize, now, that you ask, I notice they are wrong sequence.
I already changed the sketch, compile it ...
Wednesday, 3 June 2015 - 23:29
Passing a Vector (string) to a functions Aweil, thanks again.
I already removed the function prototype and the "# include < libc.a>. I compiled the sketch without errors, but, it still do not work...
Wednesday, 3 June 2015 - 20:37
Passing a Vector (string) to a functions Hello Awneil and Clawson,
Thanks for your inputs. If I include the function prototype "char * strstr ( char *, const char * );" the error msg is : ...
Wednesday, 3 June 2015 - 19:47
Error: Can not find include file Clawson,
thanks, your sugestion works.
I just change to:
.include "tn13def.inc"
The program compiled without erros.
Thanks,
Manuel
Friday, 10 August 2012 - 13:27
Error: Can not find include file Calwson,
Thanks for your answer.
the include line is as follows:
.include "c:\Programas\Atmel\AVR Tools\AVRAssembler2\appnotes\tn13def.inc"
I am going to try your...
How to convert a string using the function "atof" I read in the http://www.cplusplus.com/referen... ... dlib/atof/ , I went to AVR C library and look into it, also, I look in a Portuguese C book. All I read was like the example...
Awneil, thanks. I understood it and I know that the name of array is the memory address of array[0]. What confused me was the example I read in an Arduino book....
JnK0le, thanks for your inputs. I am going to change it for 128 and see what happens. I continue to have doubts about pointers. I have seen in Arduino Tutorials...
Thanks Clawson for your reply, What i am not sure is: when we read the (mySerial.read()) to a buffer string and later we need to use this string in another function to...
Awneil, yes, the last 2 chars are 0x0D, 0X0A. Please apologize, now, that you ask, I notice they are wrong sequence. I already changed the sketch, compile it ...
Aweil, thanks again. I already removed the function prototype and the "# include < libc.a>. I compiled the sketch without errors, but, it still do not work...
Hello Awneil and Clawson, Thanks for your inputs. If I include the function prototype "char * strstr ( char *, const char * );" the error msg is : ...
Clawson, thanks, your sugestion works. I just change to: .include "tn13def.inc" The program compiled without erros. Thanks, Manuel
Calwson, Thanks for your answer. the include line is as follows: .include "c:\Programas\Atmel\AVR Tools\AVRAssembler2\appnotes\tn13def.inc" I am going to try your...
Thanks to you all. I did another PCB and solved the problem. Regards, Manuel
John, Thanks for your help. No, the code doesn't disable the JTAG. I didn't know that it was possible. Manuel
I read in the http://www.cplusplus.com/referen... ... dlib/atof/ , I went to AVR C library and look into it, also, I look in a Portuguese C book. All I read was like the example...
Clawson, Thanks for your input. I am going to try it. Manuel
Pages