3. Program tampilan pada LCD :
// 0123456789012345678901234567890
code unsigned char teks1[] = {" Pengukuran AlP "};
code unsigned char teks2[] = {" Mikrokontroler "};
code unsigned char teks3[] = {" Mahayu F.T. "};
code unsigned char teks4[] = {" P 27838004063 "};
code unsigned char teks5[] = {" Absorbance: "};
code unsigned char teks6[] = {"Hasil: U/L"};
code unsigned char teks7[] = {"Tidak ada Kuvet!"};
code unsigned char teks8[] = {" Tunggu 3 menit "};
code unsigned char teks9[] = {" 00:00:00 "};
code unsigned absorbance[101] =
{
2000, 2000, 1699, 1523, 1398, 1301, 1222, 1155, 1097, 1046, 1000, 959, 921, 886, 854, 824, 796, 770, 745, 721, 699, 678, 658, 638, 620, 602, 585, 569, 553, 538, 523, 509, 495, 481, 469, 456, 444, 432, 420, 409, 398, 387, 377, 367, 357, 347, 337, 328, 319, 310, 301, 292, 284, 276, 268, 260, 252, 244, 237, 229, 222, 215, 208, 201, 194, 187, 180, 174, 167, 161, 155, 149, 143, 137, 131, 125, 119, 114, 108, 102, 97, 92, 86, 81, 76, 71, 66, 60, 56, 51, 46, 41, 36, 32, 27, 22, 18, 13, 9, 4
};
code unsigned hasil[101]=
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65057, 63016, 61008, 59034, 57092, 55181, 53301, 51449, 49625, 47829, 46060, 44317, 42598, 40904, 39234, 37586, 35961, 34358, 32776, 31215, 29674, 28153, 26650, 25167, 23701, 22254, 20823, 19410, 18013, 16632, 15267, 13918, 12583, 11264, 9958, 8667, 7390, 6126, 4875, 3638, 2413, 1200
};
Hosting Berbayar dengan Integrasi Caching untuk Pengalaman Cepat
2 hari yang lalu
Tidak ada komentar:
Posting Komentar