Contiki 2.5
|
This file provides Raven LCD support.More...
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/pgmspace.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Enumerations | |
enum | lcd_drive_t |
Bit LCDDC2:0 and LCMDT. | |
Functions | |
int | lcd_init (void) |
Initialization and configuration of the LCD controller. More... | |
void | lcd_deinit (void) |
This will disable the LCD operation. | |
uint8_t | itobcd (uint8_t inNumber) |
This will convert the incoming decimal number to BCD. More... | |
Numeric functions | |
int | lcd_num_puthex (uint16_t numb, lcd_padding_t padding) |
This will put a HEX value on the LCD that represents the input parameter. More... | |
int | lcd_num_putdec (int numb, lcd_padding_t padding) |
This will put a DEC value on the LCD that represents the input parameter. More... | |
int | lcd_num_clr (void) |
This will clear numbers displayed on the LCD. More... | |
void | lcd_single_print_dig (uint8_t numb, uint8_t pos) |
This will add the passed in number to any of the four locations of the four digit segment display on the LCD. More... | |
Text functions | |
int | lcd_puts (const char *s) |
This will put a string of characters out to the LCD. More... | |
int | lcd_puts_P (const char *s) |
This will put a string out to the LCD from Flash. More... | |
int | lcd_puta (size_t length, const uint8_t *s) |
This will put a string of characters of a certain length out to the LCD. More... | |
int | lcd_putchar (unsigned char c) |
This will put a single character out to the LCD. More... | |
Symbol functions | |
void | lcd_symbol_set (lcd_symbol_t symbol) |
This will enable any of the symbols on the Raven LCD. More... | |
void | lcd_symbol_set_group (int start, int count) |
This will enable a group of symbols from the lcd_symbol_chart. More... | |
void | lcd_symbol_clr (lcd_symbol_t symbol) |
This will clear any symbol on the Raven LCD. More... | |
void | lcd_symbol_clr_group (int start, int count) |
This will disable a group of symbols from the lcd_symbol_chart. More... | |
LED Functions | |
void | led_on (void) |
Turns the Raven nose LED on. | |
void | led_off (void) |
Turns the Raven nose LED off. | |
This file provides Raven LCD support.
Definition in file lcd.h.