Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 538eb0de7a
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.489 kb
// blockgame
// for NerdKits with ATmega168
// copyright 2011 Bryan Fink
// license: see LICENSE.txt
// utilities for manipulating the LCD
#include <inttypes.h>
#include "lcd.h" //add nerdkits-provided library
#include "nklcd.h"
// get the LCD setup at boot
void nklcd_init() {
lcd_init();
lcd_home();
}
void nklcd_start_blinking() {
lcd_set_type_command();
lcd_write_byte(0x0F);
}
void nklcd_stop_blinking() {
lcd_set_type_command();
lcd_write_byte(0x0C);
}
Jump to Line
Something went wrong with that request. Please try again.