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