Flowcode 6 Component Macro's

For Formula Flowcode Micromouse users to discuss projects, flowcharts, and any other issues related to the Formula Flowcode Micromouse.

Moderator: Benj

Luk C
Posts: 1
Joined: Sat Jun 13, 2015 8:15 pm
Contact:

Flowcode 6 Component Macro's

Postby Luk C » Sat Jun 13, 2015 8:35 pm

I've just started with Formula Flowcode and Flowcode programming and find it difficult to figure out how most of the Component Macro's (CheckIR, Forward, ...) work in Flowcode 6. Where can I find more information (a list,...) that tells me what numbers I need to fill in and what kind of return value I can expect? Sometimes the pop-up information is accurate, sometimes it's not precise enough.

For example:
- ReadSwitch(<number>) ... what number will adress which Switch and what kind of return value will I get (in this case, I suppose 0 or 1)?
- ReadIRSensor(<number>) ... I figured out that 'number' must be 'L', 'F' or 'R' but am still confused about the return value...
- etc.

Luk

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8412
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2401 times
Been thanked: 3434 times
Contact:

Re: Flowcode 6 Component Macro's

Postby medelec35 » Sat Jun 13, 2015 10:35 pm

Hi Luk,
I don't own a formula flowcode buggy so won't be able to answer many questions relating to it.
But have you been to this page and downloaded sample flowcharts along with Circuit Schematic.
together should be enough to get you going util matrix staff are back to work on Monday.

Even though sample flowcharts was created with Flowcode V4, which you can open with V6

To do that select Open then select the Flowcode project files (*.fcfx)
Scroll down one to Flowcode for PIC files (*.fcf)
Finally select the flowchart and open.
A flowchart will be saved as the same file name but with _v6.fcfx automatically added.

Hope I have been some help, but sorry can't offer much more.

Martin
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
DavidA
Matrix Staff
Posts: 1056
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 274 times
Contact:

Re: Flowcode 6 Component Macro's

Postby DavidA » Mon Jun 15, 2015 9:17 am

Hello,

There are also some V6 examples listed on the Formula Flowcode component wiki page:

http://www.matrixtsl.com/wiki/index.php ... tronics%29

Most of byte values for the Formula Flowcode can differ between different buggies, it is a good idea to do some trial and error with a lot of the power values. If you are stuck then post your flowchart here.