User Manual
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(unsigned char cursorType)
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)
void lcd_scroll(unsigned char direction, unsigned char num, unsigned int delay_time)
Shifts the display left or right by distance spaces, delaying for delay_time milliseconds between each shift.
This library defines literals LCD_LEFT and LCD_RIGHT for use as a direction argument to this method.
Execution does not return from this method until the shift is complete.
static void OrangutanLCD::loadCustomCharacter(const char *picture_ptr, unsigned char number )
void lcd_load_custom_character(const char *picture_ptr, unsigned char number)
Loads a custom character drawing into the memory of the LCD. The parameter ‘number’ is a character value
between 0 and 7, which represents the character that will be customized. That is, lcd.print((char)number) or
print_character(number) will display this drawing in the future.
Pololu AVR Library Command Reference © 2001–2015 Pololu Corporation
5. Orangutan LCD Page 23 of 65