2018-06-08 16:52:00 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
#include "LCDDisplay.h"
|
|
|
|
|
|
|
|
int main(){
|
|
|
|
printf("/*Zeichensatz-Test*/ \r\n");
|
|
|
|
printf("Delay=50 /*Zeitverzoegerung*/ \r\n");
|
|
|
|
printf("RS=0 /*Kommando Modus*/ \r\n");
|
|
|
|
printf("13 01 /*LCD einschalten mit blinkendem Cursor*/ \r\n");
|
|
|
|
printf("RS=1 /*Daten Modus*/ \r\n");
|
|
|
|
printf("20 21 22 23 24 25 26 27 28 29 2A 2b 2c 2d 2e 2f \r\n");
|
|
|
|
printf("RS=0 00:28 RS=1 /*Cursor springt in die zweite Zeile*/ \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f \r\n");
|
|
|
|
printf("RS=0 01 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f \r\n");
|
|
|
|
printf("RS=0 00:28 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f \r\n");
|
|
|
|
printf("RS=0 01 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f \r\n");
|
|
|
|
printf("RS=0 00:28 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f \r\n");
|
|
|
|
printf("RS=0 01 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f \r\n");
|
|
|
|
printf("RS=0 00:28 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f \r\n");
|
|
|
|
printf("RS=0 01 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af \r\n");
|
|
|
|
printf("RS=0 00:28 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf \r\n");
|
|
|
|
printf("RS=0 01 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf \r\n");
|
|
|
|
printf("RS=0 00:28 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF \r\n");
|
|
|
|
printf("RS=0 01 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF \r\n");
|
|
|
|
printf("RS=0 00:28 \r\n");
|
|
|
|
printf("RS=1 \r\n");
|
|
|
|
printf("F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF \r\n");
|
|
|
|
printf("RS=0 \r\n");
|
|
|
|
printf("02 /*Return Home*/ \r\n");
|
2018-06-18 19:00:00 +02:00
|
|
|
//getchar();
|
|
|
|
return 0;
|
2018-06-08 16:52:00 +02:00
|
|
|
}
|