Timeline for Comparing a char with the symbols '.-'
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Dec 16, 2014 at 2:12 | history | edited | BrettFolkins | CC BY-SA 3.0 |
added 113 characters in body
|
Dec 16, 2014 at 2:05 | review | Suggested edits | |||
S Dec 16, 2014 at 2:12 | |||||
Dec 15, 2014 at 0:06 | comment | added | Anonymous Penguin |
A string seems like overkill here. The lowercase one would use much less memory (if(data[0] == '.' && data[1] == '-') would be more efficient)
|
|
Dec 14, 2014 at 17:52 | comment | added | BrettFolkins |
That would be equivalent to a string (lowercase) on arduino, sometimes called a "c style string". It can work, but using the functions built in to arduino's String class might be easier. that would be String schar;
|
|
Dec 14, 2014 at 14:07 | comment | added | user3485301 | i'm still new but should i use char schar[2]; | |
Dec 14, 2014 at 10:58 | vote | accept | user3485301 | ||
Dec 13, 2014 at 19:47 | history | edited | Ignacio Vazquez-Abrams | CC BY-SA 3.0 |
added 110 characters in body
|
Dec 13, 2014 at 19:16 | history | answered | BrettFolkins | CC BY-SA 3.0 |