Small bitmap-library to use with monocrome displays.

Committer:
glx
Date:
Wed Aug 02 18:13:39 2017 +0000
Revision:
3:457eaa2c6ed5
Parent:
1:e52881eae197
Added MIT-licence

Who changed what in which revision?

UserRevisionLine numberNew contents of line
glx 3:457eaa2c6ed5 1 // ------------- MIT-LICENCE -------------
glx 3:457eaa2c6ed5 2 //
glx 3:457eaa2c6ed5 3 //Copyright 2017 Theo Bestenlehner
glx 3:457eaa2c6ed5 4 //
glx 3:457eaa2c6ed5 5 //Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the
glx 3:457eaa2c6ed5 6 //Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
glx 3:457eaa2c6ed5 7 //and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
glx 3:457eaa2c6ed5 8 //
glx 3:457eaa2c6ed5 9 //The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
glx 3:457eaa2c6ed5 10 //
glx 3:457eaa2c6ed5 11 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
glx 3:457eaa2c6ed5 12 //PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
glx 3:457eaa2c6ed5 13 //OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
glx 3:457eaa2c6ed5 14
glx 3:457eaa2c6ed5 15
glx 1:e52881eae197 16 #ifndef TINYHELPER_H_
glx 1:e52881eae197 17 #define TINYHELPER_H_
glx 1:e52881eae197 18 //Helper-functions to convert an int to a displayable char[]
glx 1:e52881eae197 19
glx 1:e52881eae197 20 void IntToChar(char *CharBuffer, int Number); //Only works for positive numbers
glx 1:e52881eae197 21
glx 1:e52881eae197 22 void IntToChar(char *CharBuffer, int Number, char Digits); //Only works for positive numbers, adds leading 0s to numbers
glx 1:e52881eae197 23
glx 1:e52881eae197 24 void CombineChars(char *Destination, char *Source); //Combines two char[]
glx 1:e52881eae197 25
glx 1:e52881eae197 26 #endif