Hello
I tried this from Flowcode 4 forum:
http://www.matrixmultimedia.com/mmforum ... =26&t=8037
But it doesnt compile on flowcode 5.
Is there any similar simple solution for Flowcode 5 version ?
I have quite popular "Funduino i2c 20x4 LCD", which I would like to test with flowcode.
i2c for LCD
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: i2c for LCD
Hello,
The file uses customised components, here is a version which should compile correctly in v5.
The file uses customised components, here is a version which should compile correctly in v5.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 31
- Joined: Wed May 02, 2012 5:49 pm
- Has thanked: 3 times
- Been thanked: 7 times
- Contact:
Re: i2c for LCD
Thanks Benj
It compiles now OK.
I would like to understand how the modified code works... I noticed that LCD RawSend macro is not calling transmit byte nor enable pulse i2c macros....
I didint understand when i2c transmission occurs inside the LCD macro.
It compiles now OK.
I would like to understand how the modified code works... I noticed that LCD RawSend macro is not calling transmit byte nor enable pulse i2c macros....
I didint understand when i2c transmission occurs inside the LCD macro.
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: i2c for LCD
Hi guys!
What chip (I/O Expander) have to use with that flowchart because I tried with MCP8574 and didn't work at all... And another question: RC7 used in the flowchart is for the VDD on LCD?
I use Flowcode V5 Prof. with all the updates.
I need that custom code because I don`t know how to use i2c and I have an project with LCD and the spot for LCD is 1 meter from the 16F887 and in the classic connection (6 wires), from time to time have to reset the pic because the LCD is going crazy.
Thank you!
What chip (I/O Expander) have to use with that flowchart because I tried with MCP8574 and didn't work at all... And another question: RC7 used in the flowchart is for the VDD on LCD?
I use Flowcode V5 Prof. with all the updates.
I need that custom code because I don`t know how to use i2c and I have an project with LCD and the spot for LCD is 1 meter from the 16F887 and in the classic connection (6 wires), from time to time have to reset the pic because the LCD is going crazy.
Thank you!
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: i2c for LCD
The I2C code is hidden inside the Enable LCD macro.I would like to understand how the modified code works...
Think we used the MCP23017 which may have used to exist under the name of MCP23S17 or something similar.What chip (I/O Expander) have to use with that flowchart because I tried with MCP8574 and didn't work at all
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: i2c for LCD
In that thread with lcd_mcp file is another file for pcf, can you please fix that too to compile in the v5 Flowcode?