Contiki 2.6

lcd.c File Reference

This file provides Raven LCD support. More...

#include "lcd.h"

Go to the source code of this file.

Functions

int lcd_init (void)
 This function will initialize the proper settings for the LCD driver.
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.
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.
int lcd_num_putdec (int numb, lcd_padding_t padding)
 This will put a DEC value on the LCD that represents the input parameter.
int lcd_num_clr (void)
 This will clear numbers displayed on the LCD.
int lcd_puts (const char *s)
 This will put a string of characters out to the LCD.
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.
int lcd_puts_P (const char *s)
 This will put a string out to the LCD from Flash.
int lcd_putchar (unsigned char c)
 This will put a single character out to the LCD.
void lcd_symbol_set (lcd_symbol_t symbol)
 This will enable any of the symbols on the Raven LCD.
void lcd_symbol_clr (lcd_symbol_t symbol)
 This will clear any symbol on the Raven LCD.
void lcd_symbol_set_group (int start, int count)
 This will enable a group of symbols from the lcd_symbol_chart.
void lcd_symbol_clr_group (int start, int count)
 This will disable a group of symbols from the lcd_symbol_chart.
 ISR (LCD_vect)
 This is the LCD Start of Frame Interrupt Subroutine.
void led_on (void)
 Turns the Raven nose LED on.
void led_off (void)
 Turns the Raven nose LED off.
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.

Detailed Description

This file provides Raven LCD support.

Author:
Mike Vidales mavida404@gmail.com

Definition in file lcd.c.