Introduction - If you have any usage issues, please Google them yourself
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
}