| ??? 11/03/08 15:28 Read: times |
#159577 - You can build your array dynamically Responding to: ???'s previous message |
Just use sprintf() to build your command. You can either have the hex escapes as literals in the format string or you add as parameters to %c and of course name would be parameter to %s format.
If you use sprintf() you will need to avoid or escape the % character and the backslash. But otherwise 8 bit characters should be handled ok. David. |
| Topic | Author | Date |
| Hex byte stream | 01/01/70 00:00 | |
| Declare an initialised array | 01/01/70 00:00 | |
| why not in code memory??? | 01/01/70 00:00 | |
| yes, if... | 01/01/70 00:00 | |
| Initialized array | 01/01/70 00:00 | |
| memcpy | 01/01/70 00:00 | |
| Thanks. | 01/01/70 00:00 | |
| You can build your array dynamically | 01/01/70 00:00 | |
| sprintf ?? | 01/01/70 00:00 | |
| Manuals? | 01/01/70 00:00 | |
| Perception | 01/01/70 00:00 | |
| Bandwidth of facts | 01/01/70 00:00 | |
You will make a good master ! | 01/01/70 00:00 |



