本帖最后由 tcbyxo 于 2013-4-27 23:23 编辑
楼主,我想问一下你的那个头文件的下载在哪里啊
"LCD4Bit_mod.h"
void LCD4Bit_mod:: LCD_SET_XY( int x, int y ) //the command of setting Cursor
void LCD4Bit_mod:: PrintSelfDefine(int x,int num)// the program of displaying self-define char
void LCD4Bit_mod::printString(int x,char msg[])
這三句時常顯示 member function declared in class LCD4Bit_mod
LCD4Bit_mod.h 是否楼主自已改動了,加入這些 command
{:soso_e109:} {:soso_e109:} {:soso_e109:}
我 download 回來的是這樣子
#ifndef LCD4Bit_mod_h
#define LCD4Bit_mod_h
#include <inttypes.h>
class LCD4Bit_mod {
public:
LCD4Bit_mod(int num_lines);
void commandWrite(int value);
void init();
void print(int value);
void printIn(char value[]);
void clear();
//non-core---------------
void cursorTo(int line_num, int x);
void leftScroll(int chars, int delay_time);
//end of non-core--------
//4bit only, therefore ideally private but may be needed by user
void commandWriteNibble(int nibble);
private:
void pulseEnablePin();
void pushNibble(int nibble);
void pushByte(int value);
};
#endif |