发布时间:2015-06-02 08:44:18
#include <msp430x14x.h>#define HIGH P2OUT|=BIT1;#define LOW P2OUT&=~BIT1;#define uchar unsigned charextern void nokia_main();unsigned char RH, RL, TH, TL, SUM, CHK; extern void LCD_init(void);extern void LCD_write_char(unsigned char c);extern void LCD_write_chinese_char(uchar x, uchar y,.........【阅读全文】
发布时间:2015-06-02 08:42:10
/*2007-2-1 12:06nokia 5110 driver program for 51 mcuby zl0801zhaoliang0801@gmail.com*/#include <msp430f149.h>// pin define for n5110lcd_8key board// change this if your hardware changed!/*sbit SCLK = P0^5;// pin 2 header5sbit SDIN = P0^4;// pin 3 header4sbit LCD_DC = P0^.........【阅读全文】