AVR Library Command Reference

Example:
OrangutanLCD::print(-25);
static void OrangutanLCD::print(long value)
void print_long(long value)
Prints the specified signed long (4-byte) value to the display at the current cursor position. It will not wrap or
otherwise span lines.
static void OrangutanLCD::print(unsigned int value)
Prints the specified unsigned integer (2-byte) value to the display at the current cursor position. The value will not
wrap or otherwise span lines and will always be positive.
static void OrangutanLCD::print(unsigned long value)
void print_unsigned_long(long value)
Prints the specified unsigned long (4-byte) value to the display at the current cursor position. The value will not
wrap or otherwise span lines and will always be positive.
static void OrangutanLCD::printHex(unsigned int value)
void print_hex(unsigned int value)
Prints the specified two-byte value in hex to the display at the current cursor position. The value will not wrap or
otherwise span lines.
static void OrangutanLCD::printHex(unsigned char value)
void print_hex_byte(unsigned char value)
Prints the specified byte value in hex to the display at the current cursor position. The value will not wrap or
otherwise span lines.
static void OrangutanLCD::printBinary(unsigned char value)
void print_binary(unsigned char value)
Prints the specified byte in binary to the display at the current cursor position. The value will not wrap or
otherwise span lines.
static void OrangutanLCD::gotoXY(unsigned char x, unsigned char y)
void lcd_goto_xy(int col, int row)
Moves the cursor to the specified (x, y) location on the LCD. The top line is y = 0 and the leftmost character
column is x = 0, so you can return to the upper-left home position by calling lcd.gotoXY(0, 0), and you can go to
the start of the second LCD line by calling lcd.gotoXY(0, 1);
static void OrangutanLCD::showCursor(unsigned char cursorType)
void lcd_show_cursor()
Displays the cursor as either a blinking or solid block. This library defines literals CURSOR_BLINKING and
CURSOR_SOLID for use as an argument to this method.
static void OrangutanLCD::hideCursor()
void lcd_hide_cursor()
Hides the cursor.
static void OrangutanLCD::moveCursor(unsigned char direction, unsigned char distance)
void lcd_move_cursor(unsigned char direction, unsigned char num)
Moves the cursor left or right by distance spaces. This library defines literals LCD_LEFT and LCD_RIGHT for
use as a direction argument to this method.
static void OrangutanLCD::scroll(unsigned char direction, unsigned char distance, unsigned int delay_time)
Pololu AVR Library Command Reference © 2001–2009 Pololu Corporation
5. Orangutan LCD Page 14 of 35