PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Simple Libraries
Social
libbadgewxtools
oled_text_size.c
1
#include <stdlib.h>
2
#include <propeller.h>
3
#include "
badgewxtools.h
"
4
5
volatile
screen
*
self
;
6
7
void
text_size
(
int
size)
8
{
9
self
->charSize = size;
10
}
11
12
/*
13
TERMS OF USE: MIT License
14
15
Permission is hereby granted, free of charge, to any person obtaining a
16
copy of this software and associated documentation files (the "Software"),
17
to deal in the Software without restriction, including without limitation
18
the rights to use, copy, modify, merge, publish, distribute, sublicense,
19
and/or sell copies of the Software, and to permit persons to whom the
20
Software is furnished to do so, subject to the following conditions:
21
22
The above copyright notice and this permission notice shall be included in
23
all copies or substantial portions of the Software.
24
25
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
28
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
30
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
31
DEALINGS IN THE SOFTWARE.
32
*/
33
badgewxtools.h
This library provides convenient functions for a variety of Parallax eBadge operations.
text_size
void text_size(int size)
Set the text size to either 32x16 pixel (LARGE) or 7x5 (SMALL) characters. Examples: text_size(LARGE)...
Definition:
oled_text_size.c:7
screen
Definition:
badgetools.h:1709
Generated on Fri May 20 2022 16:48:05 for PropWare by
1.8.17