Formatting strings with appending chars to use for LCDs or tab-like formatting
Revision 1:a5047bdb635a, committed 2015-04-14
- Comitter:
- MiniMe
- Date:
- Tue Apr 14 08:45:43 2015 +0000
- Parent:
- 0:e6d337c69154
- Commit message:
- Formatting strings with appending chars to use for LCDs or tab-like formatting
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e6d337c69154 -r a5047bdb635a main.cpp --- a/main.cpp Tue Apr 14 08:42:26 2015 +0000 +++ b/main.cpp Tue Apr 14 08:45:43 2015 +0000 @@ -8,7 +8,7 @@ // String auf Länge mit beliebigem Zeichen auffüllen >-------------------------------------------------------------------- -void doAddLeadingChars(char* stringMessage, int intLange, char* stringFullZeichen) +void doAddFollowingChars(char* stringMessage, int intLange, char* stringFullZeichen) { int intStringLange = 0; intStringLange = strlen(stringMessage); @@ -45,7 +45,7 @@ myled = 0; wait(1); - doAddLeadingChars(test,10,"a"); + doAddFollowingChars(test,10,"a"); while(1) { myled = 1;