Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4922

contrast setting problem in OLEDM204 lcd with I2C interface

$
0
0
hii all,​
i am going to interface OLEDM204 lcd with PICf1823 using I2C. i have done all the thing .
but now i want to change the contrast and i could not. in datasheet they said that you have to set RE and SD bit
and then only you can do that. i tried it but fail. some one having experience in that cam guide me

Code (Text):
  1. I2C_Is_Idle();
  2.      I2C1_Start();
  3.      I2C_Is_Idle();
  4.      I2C1_Wr(0x78);
  5.      I2C_Is_Idle();
  6.      I2C1_Wr(0x80);
  7.     I2C_Is_Idle();...

contrast setting problem in OLEDM204 lcd with I2C interface

Viewing all articles
Browse latest Browse all 4922

Trending Articles