Page 1 of 1
Flowcode V6 Ic2
Posted: Thu Oct 09, 2014 12:11 pm
by g-slocombe
Hi
I tried using a previously successful working program created with Flowcode V5 which used I2C and HP488 to communicate with CMPSO3 compass module.
When I tried loading and compiling to chip the same program using Flowcode V6 it doesn't work.
Any ideas for a fix.
Thanks Gary
Re: Flowcode V6 Ic2
Posted: Thu Oct 09, 2014 12:18 pm
by dazz
HI
What i do is import it into V6, then i simply replace the components with the V6 ones
Regards
Dazz
Re: Flowcode V6 Ic2
Posted: Thu Oct 09, 2014 3:04 pm
by Benj
Hi Gary,
If you post your program then we can have a quick look and see if there is anything obvious we can suggest to quickly try.
Without the program we are basically guessing what might have gone wrong.
Re: Flowcode V6 Ic2
Posted: Fri Oct 10, 2014 8:39 am
by g-slocombe
Hi Benj
Have attached program to look at.
Thanks Gary
Re: Flowcode V6 Ic2
Posted: Fri Oct 10, 2014 9:45 am
by Benj
Hi Gary,
If you select the I2C component on the panel then look at the properties pane and you should see that the Channel property is currently unselected.
Assign a value to this and hopefully the program should compile and spring to life on your hardware.
Let us know how you get on.
Re: Flowcode V6 Ic2
Posted: Fri Oct 10, 2014 3:00 pm
by g-slocombe
Hi Benj
I tried the channel advice but didn't work, so out of desparation / Inspiration I added another Restart after label "Send Module Addr Read" and it now works.
I don't understand why the V5 version worked but not V6, but it works so happy days.
Thanks Gary