Search found 31 matches

by canipus
Tue Aug 03, 2010 4:53 pm
Forum: Article Discussion
Topic: MX004 - GPS Tracking System
Replies: 4
Views: 16093

Re: GPS Tracking System

Benj,

Can you please confirm the numbers shown in the GPSTABLE file speed column are meters/sec?
Was the vehicle nearly stationary then? I can't think why else these numbers are so small unless they are not meters/sec and represent something else entirely.

Thanks
Canipus
by canipus
Sat Jun 13, 2009 12:39 am
Forum: Bugs / Application Errors
Topic: Flowcode 4 - I'm I missing something?
Replies: 5
Views: 9413

Re: Flowcode 4 - I'm I missing something?

Ben Thanks for clearing this up. Everything you say makes sense but I guess I'm still wondering how you know which switch or LED is which before you apply the text option in the panel. If you have a bank or row of 8 LEDs with no designation such as A0....A7 or L0...L7 how do you know which way round...
by canipus
Fri Jun 12, 2009 4:02 pm
Forum: Bugs / Application Errors
Topic: Flowcode 4 - I'm I missing something?
Replies: 5
Views: 9413

Flowcode 4 - I'm I missing something?

Um is it just me or are there some things left out of the component properties interface? How do you add label descriptions to the switches and LEDs? E.g open up a switch bank and try and label each of the switches. There is no label option in the properties page. Same problem with the LEDs. Also ha...
by canipus
Sun Jan 06, 2008 9:13 pm
Forum: Flowcode V2 & V3
Topic: PIC18F2431 PWM
Replies: 3
Views: 3998

OK I've worked it out. Please ignore above post.

regards etc.
by canipus
Sun Jan 06, 2008 9:29 am
Forum: Flowcode V2 & V3
Topic: PIC18F2431 PWM
Replies: 3
Views: 3998

Hello Flowcode can currently only control a maximum of 2 PWM channels. These are numbered 1 and 2. You can use the hardware macros to enable the PWM channels and to set the mark space ratio. Benj, Could you please expand on the hardware macro setting up please with a specific run through example. i...
by canipus
Mon Jan 15, 2007 2:53 pm
Forum: Flowcode V2 & V3
Topic: A New component
Replies: 14
Views: 11444

Benj, I had some contacts with Steve a while ago on 12F problems and in my instance it all boiled down to the need to define not only the ADC usage on start up but also the capture compare. Once CMCON was also defined the input outputs worked fine. Mark Unfortunately that is not the entire story. I...
by canipus
Thu Jan 11, 2007 7:53 pm
Forum: Flowcode V2 & V3
Topic: A New component
Replies: 14
Views: 11444

The 12F devices load and compile fine as long as you are using the ports available on the chip. The GP I/O pins are refered to in Flowcode as PortA. As long as you are reading and writing to pins on portA the program will work. When using a pre made program like the one sent to me by Canipus, befor...
by canipus
Wed Jan 10, 2007 10:18 pm
Forum: Flowcode V2 & V3
Topic: Printing Feature Request
Replies: 3
Views: 4082

Printing Feature Request

Steve, Ben Any chance of adding an option (user selectable) for the filename to be printed in the header margin of the page when printing fcf files. At the moment if you have several charts printed there is no easy identification amongst them. Ideally a professional title box would be nice with proj...
by canipus
Wed Jan 10, 2007 6:16 pm
Forum: Flowcode V2 & V3
Topic: A New component
Replies: 14
Views: 11444

Hi guys If you get any code working then send it to me at ben@matrixmultimedia.co.uk I will add it to flowcode when the SDK component is finished. Thanks for all your ideas. Your help makes Flowcode great and more powerful. Ben I have improved, heavily commented, tested and debugged the Clock input...
by canipus
Wed Jan 10, 2007 1:57 am
Forum: Flowcode V2 & V3
Topic: A New component
Replies: 14
Views: 11444

Re: Yea

You must have one slick finger if you tap at 1Khz Canipus Ian I wish... 8) No what I have to do at the moment is just change the model to working with a few pulses and a small divider. If the concept works with this model then it should be ok with bigger numbers working much faster. ...famous last ...
by canipus
Wed Jan 10, 2007 1:51 am
Forum: Flowcode V2 & V3
Topic: Using the debounce switch component macro - Flow:3
Replies: 20
Views: 18015

I would suggest having switch input and logic input macros. The first item I programmed using a keypad did suffer from bounce, but simply waiting for the port to return to 255 before moving on cured it. Now I note that interrupts will fire twice once on key down and again on key up, perhaps the sec...
by canipus
Tue Jan 09, 2007 9:11 pm
Forum: Flowcode V2 & V3
Topic: A New component
Replies: 14
Views: 11444

Re: A New component

Guys, just a thought, as a new component, could we not have a digital square wave input module where the frequency is adjustable, and similarly operated by an ADC - Now that would be useful. ie if we used an integer giving 0 - 1013 giving 0 -1Khz also have multipliers of 10 giving 0- 10Khz 100 givi...
by canipus
Tue Jan 09, 2007 8:58 pm
Forum: Flowcode V2 & V3
Topic: Frequency Divider
Replies: 12
Views: 10496

What does the double == sign stand for?

Ok answered my own Q - found the answer on the web under C Syntax re relational and assigned operators.
by canipus
Tue Jan 09, 2007 6:39 pm
Forum: Flowcode V2 & V3
Topic: Frequency Divider
Replies: 12
Views: 10496

canipus wrote:
Benj wrote:Now for the frequency devision.

Decision output_Var == 0

Hope this helps with your coding. If your still having problems with it then I will create the flowchart and link it to the website.
Ben

What does the double == sign stand for?

Canipus
by canipus
Tue Jan 09, 2007 5:35 pm
Forum: Flowcode V2 & V3
Topic: Frequency Divider
Replies: 12
Views: 10496

Now for the frequency devision. Variable: Byte count_Var, Byte Num_Devisions, Byte output_Var Components: Single switch connected to input bit Single LED connected to output bit Calculation: Num_Devisions = frequency devision eg. 8 Declare Connection Point reset_CP Decision output_Var == 0 Yes: Cal...
by canipus
Tue Jan 09, 2007 4:25 am
Forum: Flowcode V2 & V3
Topic: Frequency Divider
Replies: 12
Views: 10496

Re: Hmmm

Benj, Could you show this as a flowcode diagram, Assuming you're referring to the original request for frequency division that would be most helpful. I am also interested in the frequency division application and I'm trying to follow Benj's shorthand description but can't translate it into a Flowco...
by canipus
Fri Jan 05, 2007 10:08 pm
Forum: Flowcode V2 & V3
Topic: Using the debounce switch component macro - Flow:3
Replies: 20
Views: 18015

Re: Lost

I think that you should all look at the initial posting, me thinks your in a wind up Steve, I see the word "NOVICE" in there and now think this is an experienced programmer No offence Canipus Ian Ian No offence taken, but for heavens sake a) why on earth would I want to waste anybody's time pretend...
by canipus
Fri Jan 05, 2007 7:36 pm
Forum: Flowcode V2 & V3
Topic: Using the debounce switch component macro - Flow:3
Replies: 20
Views: 18015

How about this: Add an option so that when reading an input, the program wait until the signal is stable. Let's say this is done using a call to "ReadState" macro of the switch component. With the debouncing option enabled, this call will wait until the signal has been stable for a certain time bef...
by canipus
Fri Jan 05, 2007 6:00 pm
Forum: Flowcode V2 & V3
Topic: Using the debounce switch component macro - Flow:3
Replies: 20
Views: 18015

Canipus: I presume switch bounce happens when the switch is changing state (i.e. being pressed or released). When you are reading an input, you are not reading a change in state; instead, you are reading a logic level at that particular time. Thus when you use the input icon followed by a decision,...
by canipus
Fri Jan 05, 2007 3:41 pm
Forum: Flowcode V2 & V3
Topic: Using the debounce switch component macro - Flow:3
Replies: 20
Views: 18015

One thing you may be able to do is read the switch input as normal and then if it is pressed (i.e. after the decision icon that checks if it has been pressed) add a "WaitUntilLow" macro - this will provide the debouncing. Hmmm. Not sure about that. If you examine the nature of a mechanical contact ...
by canipus
Fri Jan 05, 2007 12:04 am
Forum: Flowcode V2 & V3
Topic: Using the debounce switch component macro - Flow:3
Replies: 20
Views: 18015

Re: Maybe this will help

If you have an input component, in your program, if you click on the switch properties box you can set your delay there. If you use the macro, this halts the programme until a switch is pressed.. hope this helps you out Any delay you put on a switch should be directly after the input block and befo...
by canipus
Thu Jan 04, 2007 8:17 pm
Forum: Flowcode V2 & V3
Topic: Using the debounce switch component macro - Flow:3
Replies: 20
Views: 18015

Using the new Switch component with v3, you can use the macros "WaitUntilHigh" and "WaitUntilLow" to wait for a particular switch to be pressed/released. In the Switch component properties you will find an option to add a debounce to these functions. There are a series of tutorial programs that get...
by canipus
Wed Jan 03, 2007 11:24 pm
Forum: Flowcode V2 & V3
Topic: Using the debounce switch component macro - Flow:3
Replies: 20
Views: 18015

Using the debounce switch component macro - Flow:3

Can anyone PLEASE give (or point me to), a quick tutorial illustrating the use of the component macro to debounce a switch on an input port? Currently I have a triangle decision box that is quizzing a variable that is an input port pin true or false (Y or N). Effectively the decision box is testing ...
by canipus
Mon Nov 13, 2006 6:03 pm
Forum: Flowcode V2 & V3
Topic: Version 3 Assembler - confused
Replies: 9
Views: 7890

canipus, Personally, I don't see the problem. If the code going into MPASM is erroneous in any way, then that will severely compromise a system's behaviour. So, having the assembly internal to the C compiler/linker is just as "secure" as producing an ASM file and having it be assembled by MPASM. Th...
by canipus
Mon Nov 13, 2006 5:56 pm
Forum: Flowcode V2 & V3
Topic: New Demo Today ?
Replies: 2
Views: 3408

but this will also be cut-down in functionality. oh! The web site pdf mentions that it works fully operational for 30 days? So in fact that there are now other limitations? OK I'll e-mail you. Incidentally I just emailed your sales dep. because your distributor over here in the USA (Electronics Exp...