Subversion Repositories group.electronics

Rev

Rev 61 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61 Rev 98
Line 1... Line 1...
1
#include <avr/io.h>
1
#include <avr/io.h>
2
#include <stdlib.h>
2
#include <stdlib.h>
3
#include "wire.h"
3
#include "wire.h"
4
#include "lcd.h"
4
#include "lcd.h"
5
#include "util.h"
5
#include "avrutil.h"
6
#include <util/delay.h>
6
#include <util/delay.h>
7
 
7
 
8
void lcd_init() {
8
void lcd_init() {
9
	lcd.backlight = LCD_BACKLIGHT;
9
	lcd.backlight = LCD_BACKLIGHT;
10
	lcd.display = LCD_DISPLAYON | LCD_CURSOROFF | LCD_BLINKOFF;
10
	lcd.display = LCD_DISPLAYON | LCD_CURSOROFF | LCD_BLINKOFF;