Search found 8 matches

by MilekNS
Tue Aug 05, 2014 3:45 pm
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61768

Re: 3C : LCD I2C

Hello Milek 3.9K is OK. Keep (for now) WDT OFF. May be, you can test the PCF with some Led and resistor between +5V and Outputs. Test the file (just flashing led), if it is not OK , may a trouble with the I2C address. Is it a PCF8574 or PCF8574A, A0 A1 A2 are really connected to gnd ? Can you take ...
by MilekNS
Mon Jul 28, 2014 10:24 am
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61768

Re: 3C : LCD I2C

Dan81, I was just looking your last FC diagram and under LCD component/ custom code / component macros Defines , RawSend (there is one more RawSend below ?), Start , Clear , Enable_pulse and Backlight are true (customized) and further under: Start / Edit code I see there are lines of Wdt_delay_ms() ...
by MilekNS
Sun Jul 27, 2014 2:12 pm
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61768

Re: 3C : LCD I2C

Hello Milek Have you put pull up resistors on clock and data lines ? Which hardware are you using ? Daniel Yeap, there are pull-up on scl and sda but 3,9k, i hope it's fine bcs i don't have higher values at this moment but there are still pull-up's, maybe i could add to them one more in series to g...
by MilekNS
Tue Jul 22, 2014 6:46 pm
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61768

Re: 3C : LCD I2C

hello Dan81. It was some time ago since I visited this forum (and used FC at all) last time and i was happy to see the answer :) I have tried simulation and build hex, both works now, on pc and hex is generated, but my problem also is hardware check, the wiring of my pcb it's not same as matrix mult...
by MilekNS
Mon Mar 24, 2014 7:07 pm
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61768

Re: 3C : LCD I2C

Still nothing. :cry:

Should I open new thread?
by MilekNS
Sat Mar 15, 2014 9:12 pm
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61768

Re: 3C : LCD I2C

hello Benj I2C component help file was first thing to look. But...for someone who works as anesthesiologist in hospital it doesn't help me a lot... :D electronics is something that interests me a side, and i don't have that much knowledge. For me it was a great success even to make PCB! :lol: I have...
by MilekNS
Thu Mar 13, 2014 4:41 pm
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61768

Re: 3C : LCD I2C

Hi Dan. So does it mean that if I open FC, chose my MCU target (mega168) and make exactly same Flowcode diagram like yours, completely from scratch but in FC V5.3 it will not work because such a diagram is intended for V4 and same one goes bad in v5? I did that already and simulation works ok, LCD w...
by MilekNS
Wed Mar 12, 2014 1:50 am
Forum: Programming Tips & Tricks
Topic: 3C : LCD I2C
Replies: 31
Views: 61768

Re: 3C : LCD I2C

Hello Bercioiu The same flowchart as above but with a PCF8574A. Daniel Hello Dan. I'm trying to control i2c LCD with PCF8574 but on Atmel AVR (atmega168) MCU. I managed to open LCD-I2C-PCF8574a.fcf in Flowcode AVR 5.3 to see basic commands. I realized the main substance of "code" but there is one t...