??? 02/17/08 23:59 Read: times |
#150975 - Is the string fixed or variable length ? Responding to: ???'s previous message |
If the string is always 7 bytes long then the code in my posting works.
However, if the string is of variable length then You have to put an additional check for end-of-string in the for loop. Generally 'C' strings are terminated by ASCII zero (null character) but it might be something else too. |
Topic | Author | Date |
For loop parsing with a rising edge write | 01/01/70 00:00 | |
Forgot to mention | 01/01/70 00:00 | |
Not sure how it should work... | 01/01/70 00:00 | |
I don't quite understand what's your problem... | 01/01/70 00:00 | |
Better clarification of error I hope... | 01/01/70 00:00 | |
No, it would not work | 01/01/70 00:00 | |
yeah. my bad...![]() | 01/01/70 00:00 | |
No problem here | 01/01/70 00:00 | |
Is the string fixed or variable length ? | 01/01/70 00:00 | |
Ment to mention | 01/01/70 00:00 | |
Oh - I C | 01/01/70 00:00 | |
I have the answer thanks to you folks...:) | 01/01/70 00:00 | |
sounds like missing pullups | 01/01/70 00:00 |