PropWare  3.0.0.229
C++ objects and CMake build system for Parallax Propeller
peb_text.c
1 #include "simpletools.h"
2 #include "badgetools.h"
3 
4 int oledprint(const char *fmt, ...)
5 {
6  char buf[128];
7  va_list args;
8  int r;
9  va_start(args, fmt);
10  r = _dosprnt(fmt, args, buf);
11  va_end(args);
12  //putStr(buf);
13  string(buf);
14  return r;
15 }
16 
17 /*
18  TERMS OF USE: MIT License
19 
20  Permission is hereby granted, free of charge, to any person obtaining a
21  copy of this software and associated documentation files (the "Software"),
22  to deal in the Software without restriction, including without limitation
23  the rights to use, copy, modify, merge, publish, distribute, sublicense,
24  and/or sell copies of the Software, and to permit persons to whom the
25  Software is furnished to do so, subject to the following conditions:
26 
27  The above copyright notice and this permission notice shall be included in
28  all copies or substantial portions of the Software.
29 
30  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
33  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
35  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
36  DEALINGS IN THE SOFTWARE.
37 */
38 
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
oledprint
int oledprint(const char *fmt,...)
Use to display strings on the oLED display in a manner similar to displaying combinations of strings ...
Definition: peb_text.c:4
string
void string(char *str)
Display a character string on the oLED display.
Definition: oled_string.c:7
badgetools.h
This library provides convenient functions for a variety of Parallax eBadge operations.