Library for DogM163 text display 3x16 character
Dependents: DogMTest WavPlayerSD_CB_using_RiceGulumb WavPlayer_CB
Revision 1:1e693c7d1389, committed 2010-12-15
- Comitter:
- FrankWeissenborn
- Date:
- Wed Dec 15 00:02:48 2010 +0000
- Parent:
- 0:f7a30e1476bd
- Commit message:
Changed in this revision
DogM163.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/DogM163.cpp Wed Dec 08 13:28:53 2010 +0000 +++ b/DogM163.cpp Wed Dec 15 00:02:48 2010 +0000 @@ -9,19 +9,19 @@ void DogM163::Init() { _cs=0; wait_ms(50); - WriteCommandByte( 0x39 ); // Function set; 8 bit Datenl�nge, 2 Zeilen, Instruction table 1 - wait_us(27); // mehr als 26,3�s warten + WriteCommandByte( 0x39 ); // Function set; 8 bit Datenl�nge, 2 Zeilen, Instruction table 1 + wait_us(27); // mehr als 26,3�s warten WriteCommandByte( 0x15 ); // Bias Set; BS 1/4; 3 zeiliges Display - wait_us(30); // mehr als 26,3�s warten + wait_us(30); // mehr als 26,3�s warten WriteCommandByte( 0x70 ); // Kontrast C3, C2, C1 setzen wait_us(30); WriteCommandByte( 0x55 ); // Booster aus; Kontrast C5, C4 setzen wait_us(30); - WriteCommandByte( 0x6e ); // Spannungsfolger und Verst�rkung setzen /6c + WriteCommandByte( 0x6e ); // Spannungsfolger und Verst�rkung setzen /6c wait_ms(200); // mehr als 200ms warten !!! WriteCommandByte( 0x0f ); // Display EIN, Cursor EIN, Cursor BLINKEN /0f wait_us(30); - WriteCommandByte( 0x01 ); // Display l�schen, Cursor Home + WriteCommandByte( 0x01 ); // Display l�schen, Cursor Home wait_ms(50); WriteCommandByte( 0x06 ); // Cursor Auto-Increment wait_us(30);