Token Display:
Code:
#include<lpc214x.h>
#define PLLE 0
#define PLLC 1
#define PLOCK 10
#define rs 16
#define rw 17
#define en 18
#define lcdport IO0SET
#define lcdportclr IO0CLR
void daten(void);
void cmnd(void);
void pllinit(void);
void delay(int);
void convert(unsigned long int);
void lcdcmd(char);
void lcddata(char);
void lcdinit(void );
void lcdstring(char *);
int main()
{
IO0DIR=IO0DIR|(0x7f<<16);
pllinit();
lcdinit();
//PINSEL0=PINSEL0|0x20
IO0DIR=IO0DIR|(0xff<<19);
PINSEL0=PINSEL0|(2<<4);//select...