Tips Mengecek apakah terpasang LCD atau TDK

if (lcd_init(16)!=0)
{
PORTB.5=0; //terpasang  LCD  16×2   , led indikator ON
}
else
{
PORTB.5=1; //tdk  terpasang  LCD  16×2,   led indikator OFF
}

 

 

About pccontrol

Berisi Tutorial Menggunakan PC untuk mengontrol Peralatan dengan cara mudah & praktis.

Posted on 19/05/2016, in Daftar isi, Tips & Trik. Bookmark the permalink. Leave a comment.

Komentar ,Saran atau Pertanyaan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: