Small bitmap-library to use with monocrome displays.
TinyHelper.h@1:e52881eae197, 2017-08-02 (annotated)
- Committer:
- glx
- Date:
- Wed Aug 02 09:50:46 2017 +0000
- Revision:
- 1:e52881eae197
- Child:
- 3:457eaa2c6ed5
Added Helper
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
glx | 1:e52881eae197 | 1 | #ifndef TINYHELPER_H_ |
glx | 1:e52881eae197 | 2 | #define TINYHELPER_H_ |
glx | 1:e52881eae197 | 3 | //Helper-functions to convert an int to a displayable char[] |
glx | 1:e52881eae197 | 4 | |
glx | 1:e52881eae197 | 5 | void IntToChar(char *CharBuffer, int Number); //Only works for positive numbers |
glx | 1:e52881eae197 | 6 | |
glx | 1:e52881eae197 | 7 | void IntToChar(char *CharBuffer, int Number, char Digits); //Only works for positive numbers, adds leading 0s to numbers |
glx | 1:e52881eae197 | 8 | |
glx | 1:e52881eae197 | 9 | void CombineChars(char *Destination, char *Source); //Combines two char[] |
glx | 1:e52881eae197 | 10 | |
glx | 1:e52881eae197 | 11 | #endif |