PropWare
C++ objects and CMake build system for Parallax Propeller
Home
Download
Getting Started
Documentation
Reference
About
Related Links
Namespace List
Class List
File List
Examples
Build System
File List
File Members
propsideworkspace
Learn
Examples
Badge
01 Display
01 Position Cursor on Screen.c
1
/*
2
Position Cursor on Screen.c
3
Positions cursor on screen with cursor function.
4
*/
5
6
#include "simpletools.h"
// Include simpletools library
7
#include "
badgetools.h
"
// Include badgetools library
8
9
void
main
()
// Main function
10
{
11
badge_setup
();
// Call badge setup
12
oledprint
(
"Hello,"
);
// First message
13
cursor
(2, 1);
// Move cursor to col 2, row 1
14
oledprint
(
"again!"
);
// Next message starts there
15
}
16
17
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
main
int main(void)
Definition:
GraphicsTest.c:20
badge_setup
int badge_setup(void)
Set up all available badge drivers. Call this function at the start of any given program to allow acc...
Definition:
badgealpha.c:29
badgetools.h
This library provides convenient functions for a variety of Parallax eBadge operations.
cursor
void cursor(int col, int row)
Position the cursor to a certain column and row for printing text on the oLED display. Column can be 0 to 7 and row can be 0 or 1 in default LARGE text mode. In SMALL text mode, column can be 0 to 31, and row can be 0 to 7.
Definition:
oled_cursor.c:7
Generated on Sat Aug 27 2016 00:58:03 for PropWare by
1.8.12