PID sudah ternormalisasi

Dependencies:   Motor PS_PAD TextLCD mbed-os

Fork of cobaLCDJoyMotor_Thread by EL4121 Embedded System

Committer:
rizqicahyo
Date:
Sat Dec 09 09:52:26 2017 +0000
Revision:
2:907766ac29a2
Parent:
1:2bf3dac65b08
Child:
3:a03ce2084ceb
tes library LCD 20x4

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rizqicahyo 1:2bf3dac65b08 1 /*********************************************************************/
rizqicahyo 1:2bf3dac65b08 2 /** **/
rizqicahyo 1:2bf3dac65b08 3 /** PROGRAM TAMPIL LCD **/
rizqicahyo 1:2bf3dac65b08 4 /** **/
rizqicahyo 1:2bf3dac65b08 5 /** 24 November, Selasa, 2015 **/
rizqicahyo 1:2bf3dac65b08 6 /** **/
rizqicahyo 1:2bf3dac65b08 7 /** Dibuat oleh : **/
rizqicahyo 1:2bf3dac65b08 8 /** Rizqi Cahyo Yuwono **/
rizqicahyo 1:2bf3dac65b08 9 /** 13214090 **/
rizqicahyo 1:2bf3dac65b08 10 /** **/
rizqicahyo 1:2bf3dac65b08 11 /*********************************************************************/
rizqicahyo 1:2bf3dac65b08 12
rizqicahyo 0:837acb06c892 13 #include "mbed.h"
rizqicahyo 0:837acb06c892 14 #include "TextLCD.h"
rizqicahyo 0:837acb06c892 15
rizqicahyo 2:907766ac29a2 16 TextLCD lcd(PB_7, PA_15, PA_14, PB_8, PB_1, PA_13, TextLCD::LCD20x4); //rs,e,d4-d7,
rizqicahyo 0:837acb06c892 17
rizqicahyo 0:837acb06c892 18 Serial pc(USBTX,USBRX);
rizqicahyo 0:837acb06c892 19
rizqicahyo 0:837acb06c892 20 int main()
rizqicahyo 0:837acb06c892 21 {
rizqicahyo 0:837acb06c892 22 pc.baud(115200);
rizqicahyo 0:837acb06c892 23 //pc.printf("Pembacaan ADC Sensor : \n");
rizqicahyo 0:837acb06c892 24 while (1)
rizqicahyo 0:837acb06c892 25 {
rizqicahyo 2:907766ac29a2 26
rizqicahyo 0:837acb06c892 27 lcd.locate(0,0);
rizqicahyo 0:837acb06c892 28 lcd.printf("rizqi cahyo Yuwono");
rizqicahyo 0:837acb06c892 29 lcd.locate(0,1);
rizqicahyo 2:907766ac29a2 30 lcd.printf("12314090");
rizqicahyo 0:837acb06c892 31
rizqicahyo 0:837acb06c892 32 wait_ms(10);
rizqicahyo 0:837acb06c892 33 lcd.cls();
rizqicahyo 0:837acb06c892 34 }
rizqicahyo 0:837acb06c892 35 }
rizqicahyo 0:837acb06c892 36