PID sudah ternormalisasi

Dependencies:   Motor PS_PAD TextLCD mbed-os

Fork of cobaLCDJoyMotor_Thread by EL4121 Embedded System

main.cpp

Committer:
rizqicahyo
Date:
2017-12-09
Revision:
2:907766ac29a2
Parent:
1:2bf3dac65b08
Child:
3:a03ce2084ceb

File content as of revision 2:907766ac29a2:

/*********************************************************************/
/**                                                                 **/
/** PROGRAM TAMPIL LCD                                              **/
/**                                                                 **/
/** 24 November, Selasa, 2015                                       **/
/**                                                                 **/
/** Dibuat oleh :                                                   **/
/** Rizqi Cahyo Yuwono                                              **/
/** 13214090                                                        **/
/**                                                                 **/
/*********************************************************************/

#include "mbed.h"
#include "TextLCD.h"

TextLCD lcd(PB_7, PA_15, PA_14, PB_8, PB_1, PA_13, TextLCD::LCD20x4); //rs,e,d4-d7,

Serial pc(USBTX,USBRX);

int main()
{    
    pc.baud(115200);
    //pc.printf("Pembacaan ADC Sensor : \n");
    while (1)
    {      

            lcd.locate(0,0);
            lcd.printf("rizqi cahyo Yuwono");
            lcd.locate(0,1);
            lcd.printf("12314090"); 
    
        wait_ms(10);
        lcd.cls();
    }
}