Different setups for different projects

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
echase
Posts: 429
Joined: Mon Jun 11, 2007 11:55 am
Has thanked: 49 times

Different setups for different projects

Post by echase »

I have 2 projects on the go and each uses different versions of the LCD component and different running voltages for the PICkit 2 programmer, as set by the Complier Options menu.

Is there a simple way to run Flowcode with different options using say a batch file in WIN XP, as it’s easy to forget to make the changes when switching between the projects?

I suspect it's too difficult.

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: Different setups for different projects

Post by Steve »

Yes, you could do it by writing batch files and appropriate .reg files. But this is not very simple. If there is someone on the forum who has experience about using batch files they may be able to help.

You would basically need 2 batch files. You would also need 2 .reg files with the appropriate settings for the PICkit2 programmer. And you would need 2 C code files for the LCD.

Each batch file would basically need to do the following:
1) copy the appropriate C code file into the "components" folder of Flowcode
2) run the appropriate .reg file

You will need to do this when Flowcode is not running.

Post Reply