Description: nokia 3310 lcd
#include "3310.h"
//global variable for remembering where to start writing the next text string on 3310 LCD
unsigned char char_start
/*--------------------------------------------------------------------------------------------------
Name : spi_init
Description : Initialising atmega SPI for using with 3310 LCD
Argument(s) : None.
Return value : None.
--------------------------------------------------------------------------------------------------*/
//SPI initialize
//clock rate: 250000hz
void spi_init(void)
{
SPCR = 0x58 //setup SPI
}
To Search:
File list (Check if you may need any files):
3310.C