Search found 12 matches

by jojo31
Tue Feb 06, 2018 9:55 pm
Forum: User Components
Topic: MPC23017 and SimQuadEncoder
Replies: 7
Views: 7421

Re: MPC23017 and SimQuadEncoder

Hello Benj, I found the solution to export a public variable of a component in "Component Configuration" and I am trying to use this first solution :D But Is it possible that you send me an example of the second solution "specify a macro in your program to be called from the component" ? Thanks you ...
by jojo31
Mon Feb 05, 2018 5:28 pm
Forum: User Components
Topic: MPC23017 and SimQuadEncoder
Replies: 7
Views: 7421

Re: MPC23017 and SimQuadEncoder

Hello Benj

Thank you very much for this explanation.

Is it possible to have an output variable defined in the properties of the component ?
Component.JPG
Component.JPG (26.71 KiB) Viewed 7386 times
The idea is that I can read this variable when the value will change inside the component on a click of the SimQuadEncoder.

Many Thanks
by jojo31
Sun Feb 04, 2018 7:38 am
Forum: User Components
Topic: MPC23017 and SimQuadEncoder
Replies: 7
Views: 7421

Re: MPC23017 and SimQuadEncoder

Hello After some tests, I saw that INTA (interruption pin on RB0) is set in a macro that I didn't use ! So , I have modified my component "MCP23017_Encoder" and I set variable INTA in MAIN . MAIN.JPG MCP23017_Encoder.fcfx But no signal on INTA pin in, it's seems that the instructions are not execute...
by jojo31
Fri Feb 02, 2018 9:29 pm
Forum: User Components
Topic: MPC23017 and SimQuadEncoder
Replies: 7
Views: 7421

Re: MPC23017 and SimQuadEncoder

The source file
Test_LCD_MPC23017_CODEUR_INT.fcfx
(17.04 KiB) Downloaded 289 times
by jojo31
Fri Feb 02, 2018 9:28 pm
Forum: User Components
Topic: MPC23017 and SimQuadEncoder
Replies: 7
Views: 7421

MPC23017 and SimQuadEncoder

Hello, I am creating a component with MPC23017 and several encoders (one at this moment). For the moment I am trying to simulate the behavior of this component. The first sub component is "SimQuadEncoder" that Benj sent me. I have modifed it because I cannot use directly pin_a or pin_b so I have add...
by jojo31
Sat Jan 27, 2018 11:47 pm
Forum: User Components
Topic: Encoder rotary for the simulation
Replies: 4
Views: 5960

Re: Encoder rotary for the simulation

Hi I included one "SimQuadEnc" in "MCP23017_Encoder" component witch has INTA & INTB pins. MCP23017_Encoder.fcfx In the macro "CheckChangeSim" I read the counter of the "SimQuadEnc" and I check any change to set INTA. MPC.JPG But it's not a good solution, it's better if I can generate an interruptio...
by jojo31
Tue Jan 23, 2018 6:03 pm
Forum: User Components
Topic: Encoder rotary for the simulation
Replies: 4
Views: 5960

Re: Encoder rotary for the simulation

Hello

I need this component without pins connection because it is integrated in my new component that I want to simulate.

The new component is an MCP23017 connected to several rotary encoder.

Best regards
by jojo31
Tue Jan 23, 2018 1:57 pm
Forum: User Components
Topic: Encoder rotary for the simulation
Replies: 4
Views: 5960

Encoder rotary for the simulation

Hello,

The Encoder rotary component exist but not for the simulation like switch, slider, ...

Is it possible to have this new component because I am creating an other component (expander + 4 encoders)

Thank you very much

Best regards
by jojo31
Sat Jan 20, 2018 2:57 pm
Forum: Feature requests
Topic: Output directory for the compilation files
Replies: 1
Views: 4807

Output directory for the compilation files

Hi

I have added $(target) to put the compilation files in the target directory
Options.JPG
Options.JPG (32.51 KiB) Viewed 4807 times
but if the directory does not exist I have an error !
tests.JPG
tests.JPG (15.55 KiB) Viewed 4807 times
error.JPG
error.JPG (19.55 KiB) Viewed 4807 times
Is it possible that Flowcode create this directory if it does'nt exist ?

Thanks
by jojo31
Fri Jan 19, 2018 10:18 pm
Forum: Bug reports
Topic: Errors when generate HEX
Replies: 3
Views: 2256

Re: Errors when generate HEX

Now It's better because I have updated Flowcode and I have only some warnings.
HEX file is generated.
version.JPG
version.JPG (14.61 KiB) Viewed 2239 times
Capture.JPG
Capture.JPG (69.02 KiB) Viewed 2239 times
Thank you very much for your help.
by jojo31
Fri Jan 19, 2018 3:54 pm
Forum: Bug reports
Topic: Errors when generate HEX
Replies: 3
Views: 2256

Errors when generate HEX

Hello

I writed a basic program with LCD i2c.

No problem with simulation but when I tried to generate the HEX file, I have several errors
Errors.JPG
Errors.JPG (104.82 KiB) Viewed 2256 times
Could you have an idea about theses problems and how to resolve ?

Thnak you very much

Best regards
by jojo31
Sun Jan 08, 2017 1:37 pm
Forum: Flowcode V6
Topic: How to buy Flowcode V6 PIC license
Replies: 0
Views: 2869

How to buy Flowcode V6 PIC license

Hello I am a user of Flowcode V6 PRO with only one PIC16 license. I need an additional PIC licence (chip pack) and I don't want to migrate on V7 at this time. So, do you know how to purchase because I don't find this possibility on Matrix's web site. If you know, thank you for your answer. Best rega...