Search found 54 matches

by ylanchec
Tue May 07, 2019 6:18 pm
Forum: Flowcode V8
Topic: Bug on I2C lCD
Replies: 9
Views: 4815

Re: Bug on I2C lCD

Hi Benj, Thank you for your quick response. I have tested your new update and it's ok on proteus. I'm going to test on a real LCD at job in few days. You means that the second sent byte is a problem only on proteus ? On a classical I2C LCD the back light is connected to P3 of 8574. How is connected ...
by ylanchec
Tue May 07, 2019 3:15 pm
Forum: Flowcode V8
Topic: Bug on I2C lCD
Replies: 9
Views: 4815

Re: Bug on I2C lCD

Good :
fc82.png
(13.56 KiB) Downloaded 1381 times
Bad : a 0x00 is immediatly sent after the good value !
fc72.png
(6.87 KiB) Downloaded 1381 times
Best regards
Yannick
by ylanchec
Tue May 07, 2019 3:09 pm
Forum: Flowcode V8
Topic: Bug on I2C lCD
Replies: 9
Views: 4815

Re: Bug on I2C lCD

On proteus 8.8
fc7.png
(261.96 KiB) Downloaded 1381 times
fc8.png
(282 KiB) Downloaded 1381 times
On FC8 there is too many bytes in a dialog !
by ylanchec
Tue May 07, 2019 3:08 pm
Forum: Flowcode V8
Topic: Bug on I2C lCD
Replies: 9
Views: 4815

Re: Bug on I2C lCD

Software FC7 and FC8
logfc8.png
(124.84 KiB) Downloaded 1381 times
logfc7.png
(128.83 KiB) Downloaded 1381 times
by ylanchec
Tue May 07, 2019 3:07 pm
Forum: Flowcode V8
Topic: Bug on I2C lCD
Replies: 9
Views: 4815

Re: Bug on I2C lCD

Hi Jan, You will find here a zip file including : - 1 simple fc7 writing "hello" on a LCD I2C --> HEX file - the same file renamed and opened with fc8 --> HEX file - proteus 8.8 file with Arduino mega linked to fc7 hex --> WORKING - proteus 8.8 file with Arduino mega linked to fc8 hex --> NOT WORKIN...
by ylanchec
Mon May 06, 2019 7:15 am
Forum: Flowcode V8
Topic: Bug on I2C lCD
Replies: 9
Views: 4815

Re: Bug on I2C lCD

Hi Jan,
Of course i can connect RW to GND in Proteus, but on the real card i can't modify this.
The bug seems to comes from the i2c dialog, there are too many bytes in the command. (the last byte)
Best regards
Yannick
by ylanchec
Fri May 03, 2019 10:25 am
Forum: Flowcode V8
Topic: Bug on I2C lCD
Replies: 9
Views: 4815

Bug on I2C lCD

Hi, I have open an existing working project from FC7 to FC8. But now the I2C LCD does not works. The LCD is a DFRobot (with PCF8574) and the card is a MEGA. sch.png I have compare the i2c dialog on both cases : Good (on FC7) : good_i2c.png Bad (on FC8) : bad_i2c.png As you cas see there is a value a...
by ylanchec
Mon Jan 29, 2018 2:14 pm
Forum: Flowcode V7
Topic: Why this delay ?
Replies: 3
Views: 3266

Re: Why this delay ?

Hi LeighM,
Sorry, I had not seen this possibility !
Thank you for your help.
Yannick
by ylanchec
Mon Jan 29, 2018 12:23 pm
Forum: Flowcode V7
Topic: Why this delay ?
Replies: 3
Views: 3266

Why this delay ?

Hi,
In I2C lib, at the end of the STOP there is a big delay, why ?
stop.png
(92.81 KiB) Downloaded 1438 times
Thank you
Yannick
by ylanchec
Mon Jan 29, 2018 11:51 am
Forum: Flowcode V7
Topic: Constant type bug
Replies: 2
Views: 2579

Re: Constant type bug

Hi,
Is it possible to edit the type in future update ?
Best regards
Yannick
by ylanchec
Mon Jan 29, 2018 11:47 am
Forum: Flowcode V7
Topic: Constant type bug
Replies: 2
Views: 2579

Constant type bug

Hi !
If i create a byte, and convert it as constant, the type is BYTE first...
But after some work, it becomes "Z", so "integer".
bugconst.png
(8.52 KiB) Downloaded 1014 times
Thank you
Yannick
by ylanchec
Tue Jan 23, 2018 7:25 am
Forum: Flowcode V7
Topic: Problem with LCD I2C
Replies: 2
Views: 2566

Re: Problem with LCD I2C

Hi LeighM,
Thank you for your response !
I will do this.
Yannick
by ylanchec
Sat Jan 20, 2018 3:49 pm
Forum: Flowcode V7
Topic: Problem with LCD I2C
Replies: 2
Views: 2566

Problem with LCD I2C

Hi, I'm testing : DFROBOT LCD I2C + DF ROBOT Sensor Shield V2.4 + Arduino MEGA 2560 R3. If i write a long string, on FC7 simulation is good : test-lcd-i2c-1.png On the target, there is a problem with the lines : test-lcd-i2c-2.jpg Is it a problem with the I2C LCD ? not similar that the generic one ?...
by ylanchec
Mon Jan 16, 2017 11:19 pm
Forum: Flowcode V7
Topic: Problem with Bool on target
Replies: 10
Views: 9353

Re: Problem with Bool on target

Benj,

Than you for your reply.

Best regard

Yannick
by ylanchec
Fri Jan 06, 2017 11:28 am
Forum: Flowcode V7
Topic: Problem with Bool on target
Replies: 10
Views: 9353

Re: Problem with Bool on target

Hi Steve,

Actually "NOT" -gives "~" in C
Actually "AND" -gives "&" in C
Actually "OR" -gives "|" in C

When the var is Bool, the C could be modified maybe ?

NOT --> !
AND --> &&
OR --> ||

Maybe difficult for old sources....

Yannick
by ylanchec
Thu Jan 05, 2017 6:43 pm
Forum: Flowcode V7
Topic: Problem with Bool on target
Replies: 10
Views: 9353

Re: Problem with Bool on target

Hi Steve, Thank you for your response. So for the moment we can't use NOT AND OR with a Bool. Of course, i have change my code and use a byte and it works. It will be good to correct this bug in the compiler in next versions... Who makes the compiler ? Usually in tests (IF), i use boolean conditions...
by ylanchec
Wed Jan 04, 2017 6:02 pm
Forum: Feature requests
Topic: i2c Keypad
Replies: 8
Views: 8074

Re: i2c Keypad

Hi Benj,

In the fc7 file "i2c_keypad.fcfx" (top of discussion), i use the i2c component, and it works with the pcf8574 ...

but i havent any keypad to simulate in fc7.

Best regards.

Yannick
by ylanchec
Wed Jan 04, 2017 5:18 pm
Forum: Feature requests
Topic: i2c Keypad
Replies: 8
Views: 8074

Re: i2c Keypad

Hi Benj,

You have a PCF8574 in FC7 ? where ? and how to tell tu use the pins for the keypad ?

Do you have an example ?

Thank you

Yannick
by ylanchec
Wed Jan 04, 2017 4:42 pm
Forum: Feature requests
Topic: i2c Keypad
Replies: 8
Views: 8074

Re: i2c Keypad

Hi Benj !

And happy new year too !

So you plan to make this component in the next version ?

But what is the release date for fc8 ?

Best regards

Yannick
by ylanchec
Mon Jan 02, 2017 10:10 am
Forum: Feature requests
Topic: i2c Keypad
Replies: 8
Views: 8074

Re: i2c Keypad

Yes Jay Dee, it will be very usefull to have basic things working on i2c, and on the same channel too. If i use the i2c keyboard from FC7 and a i2c sensor, i'm not sure that it will work on the same channel. The i2c keypad (with config of row + col + key) is very important because the normal keypad ...
by ylanchec
Thu Dec 29, 2016 12:41 pm
Forum: Feature requests
Topic: i2c Keypad
Replies: 8
Views: 8074

i2c Keypad

Hi,

In the current version, there is no i2c keypad...

Is it in the roadmap ?

Best regards

Yannick
by ylanchec
Fri Dec 23, 2016 11:58 am
Forum: Flowcode V7
Topic: Problem with Bool on target
Replies: 10
Views: 9353

Re: Problem with Bool on target

Hi Steve,

I have also this problem on old versions of FC, but now i am on FC7 !

Thank you for your help.

Best regards.

Yannick
by ylanchec
Fri Dec 23, 2016 9:19 am
Forum: Flowcode V7
Topic: Problem with Bool on target
Replies: 10
Views: 9353

Problem with Bool on target

Hi ! If i do a simple program, reading a bit (Bool) and inverting it and printing, it works in simulation. If i upload it in the target, the NOT does not works. I also do the test with a byte and it's good. Strange too, il i say TEST=0 and then TEST=NOT TEST, it works on target. An idea ? Yannick
by ylanchec
Fri Dec 16, 2016 6:22 pm
Forum: Flowcode V7
Topic: FC7 and SDCARD FAT
Replies: 8
Views: 5923

Re: FC7 and SDCARD FAT

Hi Benj,

I'm going to test with the real hardware.

If the problem comes from proteus, i will write to labcenters.

I have tested examples found on internet with pics and sdcard, and they work on proteus...

Thank you

Yannick
by ylanchec
Fri Dec 16, 2016 4:24 pm
Forum: Flowcode V7
Topic: FC7 and SDCARD FAT
Replies: 8
Views: 5923

Re: FC7 and SDCARD FAT

Hi Benj,

I have test with the button to insert and extraxt the sdcard.

It's the same.

Here is the full project

Thank you

Yannick