Author |
Message |
Topic: LCD HD44780 PCF8574T i2c Driver |
pic.programmer
Replies: 79
Views: 227305
|
Forum: General CCS C Discussion Posted: Tue May 05, 2015 6:23 am Subject: Re: Interfacing I2c LCD display with ATmega16 |
The above code and the I2C LCD Code posted in Library section by me are written for CCS C Compiler and it can be used with AVR. If you can use mikroC PRO AVR Compiler then I will port my I2C LCD code ... |
Topic: I2C LCD 4 bit |
pic.programmer
Replies: 6
Views: 55512
|
Forum: Code Library Posted: Tue May 05, 2015 2:27 am Subject: I2C LCD 4 bit |
No, the two LCD version is tested in hardware (mikroE's EasyPIC v7 board), but the 8 LCDs version is not tested in hardware because I don't have 8 LCDs with me, but the code has only small changes so ... |
Topic: LCD 4 bit and 8 bit codes |
pic.programmer
Replies: 12
Views: 21474
|
Forum: General CCS C Discussion Posted: Tue May 05, 2015 2:24 am Subject: LCD 4 bit and 8 bit codes |
I think flex_lcd is better than my code, because the flex_lcds LCD print function can print floating point but mine only prints strings. So, if int or float has to be printed with mine than they have ... |
Topic: LCD 4 bit and 8 bit codes |
pic.programmer
Replies: 12
Views: 21474
|
Forum: General CCS C Discussion Posted: Mon May 04, 2015 5:41 am Subject: LCD 4 bit and 8 bit codes |
I will try those LCD drivers. Mine doesn't use LCD_RW line. Also with my code any pin combination can be used for LCD. |
Topic: I2C LCD 4 bit |
pic.programmer
Replies: 6
Views: 55512
|
Forum: Code Library Posted: Mon May 04, 2015 12:48 am Subject: Re: I2C LCD 4 bit |
The rev2 version had a problem. If 16x4 LCD was used then you could not use 20x4 LCD.
I have fixed it by modifying the code. Now any combination of 16x2, 16x4, 20x2 and 20x4 LCDs can be used. You c ... |
Topic: I2C LCD 4 bit |
pic.programmer
Replies: 6
Views: 55512
|
Forum: Code Library Posted: Sun May 03, 2015 7:15 pm Subject: Re: I2C LCD 4 bit |
Made a quick revision of the library. Now you can have 8 LCDs of any combinations of 16x2, 16x4, 20x2 and 20x4. I provided option to send address of LCD in functions.
Download link is here. I have ... |
Topic: LCD 4 bit and 8 bit codes |
pic.programmer
Replies: 12
Views: 21474
|
Forum: General CCS C Discussion Posted: Sun May 03, 2015 5:08 pm Subject: LCD 4 bit and 8 bit codes |
In the LCD_Chr() function, one can replace the switch { ... } statement with below code and make the code work for HD44780 and compatible 16x4 LCD.
switch(row){
case 1: ... |
Topic: I2C LCD 4 bit |
pic.programmer
Replies: 6
Views: 55512
|
Forum: Code Library Posted: Sun May 03, 2015 5:05 pm Subject: Re: I2C LCD 4 bit |
In the I2C_LCD_Chr() function, one can replace the switch statement with the below switch statement and use the code with a HD44780 and compatible 16x4 LCD.
switch(row){
... |
Topic: I2C LCD 4 bit |
pic.programmer
Replies: 6
Views: 55512
|
Forum: Code Library Posted: Sun May 03, 2015 3:40 pm Subject: I2C LCD 4 bit |
Hi
I made I2C LCD 4 bit. It uses PCF8574.
I have used these LCDs for testing and they work fine.
http://www.banggood.com/buy/I2C-LCD.html
I have also used this I2C LCD module with HD44780 ... |
Topic: LCD 4 bit and 8 bit codes |
pic.programmer
Replies: 12
Views: 21474
|
Forum: General CCS C Discussion Posted: Sun May 03, 2015 12:53 pm Subject: LCD 4 bit and 8 bit codes |
Sorry, I am new to this forum. I didn't know. Mods, please move this to the right topic.
One more thing. I have used CCS C 5.044 version Compiler. |
Topic: LCD 4 bit and 8 bit codes |
pic.programmer
Replies: 12
Views: 21474
|
Forum: General CCS C Discussion Posted: Sun May 03, 2015 12:26 pm Subject: LCD 4 bit and 8 bit codes |
Hi
I made LCD 4 bit and 8 bit code. The functions are similar to mikroElektronika's LCD Library functions. I have tested the code in Proteus and also on mikroElektronika's EasyPIC v7 development bo ... |
|