Search found 759 matches

by JonnyW
Thu Dec 19, 2013 3:03 pm
Forum: General Programming
Topic: hardware stack overflow
Replies: 14
Views: 9007

Re: hardware stack overflow

Hi. On an 8-bit PIC chip there is a hardware stack. This is the number of times you can call a macro to jump away from 'main' before it can cause your program to become corrupted. This also includes calls made by underlying components. You can turn this off and use a 'software stack', but I believe ...
by JonnyW
Sun Dec 08, 2013 6:24 pm
Forum: User Components
Topic: Unable to Export Component
Replies: 6
Views: 11173

Re: Unable to Export Component

Hi John.

The 'component macro' was the older name for 'downloadable macro' - we felt it described the type of macro better that way. Same thing though and I will update the Wiki, thanks for the spot.

Jonny
by JonnyW
Fri Dec 06, 2013 12:55 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi Stewart. No problems at all. There is a lot to take in. The deeper you get the more complicated things become, as the system is designed to shield users from what is going on. When I get the chance I will try to get something together for a 3-way switch as we do need to get how-to tutorials on su...
by JonnyW
Fri Dec 06, 2013 9:17 am
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi Stweart. Sorry, updated the above post using 6.0.4!

Jonny
by JonnyW
Thu Dec 05, 2013 5:40 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi Stewart. I presume you mean "Show position objects on the panel" in the component debugger ? If so, I see nothing in the way of orange boxes... Apologies, the check is right, but the boxes show a position based on the original object. The scale and size of an LED are different (size is a componen...
by JonnyW
Thu Dec 05, 2013 12:09 pm
Forum: Feature requests
Topic: Save Component Debug tick box state
Replies: 2
Views: 2845

Re: Save Component Debug tick box state

It would be a per-user setting (so not in the project, but for the user of Flowcode) but I think this can be done.

Jonny
by JonnyW
Thu Dec 05, 2013 12:08 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi Stewart. Glad your getting through all this. In Flowcode you can 'snapshot' the position of an object. If you store this in a 'handle' variable the snapshot will exist as long as the handle does. You can then manipulate the position (in this case by rotating by 30 degrees) and at any point write ...
by JonnyW
Tue Dec 03, 2013 10:54 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi. Here is the same program, but using the LED as a latching lever. I have also changed the program to link to the LED programmatically, as this is the way most components can do this. There is an alternative using events, which is how the components operate when exported (there is no 'main' for a ...
by JonnyW
Tue Dec 03, 2013 5:05 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi. Sorry - I have tweaked the file format since v6.0.4 went out - something worth remembering when posting examples!

Updated the source file now - should download OK.

Jonny
by JonnyW
Tue Dec 03, 2013 3:31 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi Stewart. As far as I go, 'object' and 'component' are interchangeable, except that I tend to think of objects as having 'solid' parts. As an example, here is the button helper turning an LED object/component into a button. This doesn't do anything other than show what the helper component does - ...
by JonnyW
Tue Dec 03, 2013 1:23 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi. OK, I see. That (3-state switch) sounds like quite a good step-by-step project to document creation of on our forums here. For information as to how the components are structured, it may help to go to the Component debugger and select 'Component Debugger', check 'Expose full component tree in pr...
by JonnyW
Mon Dec 02, 2013 11:54 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi. I think by the looks of it Ben has edited-out copying each property and setting them all up manually to save time in the video. As in the video you can set everything up manually, but I would say the easiest way is to copy from the base component (in this case the stepper motor) then just delete...
by JonnyW
Mon Dec 02, 2013 11:43 pm
Forum: Flowcode V5 Issues
Topic: no answer
Replies: 2
Views: 6275

Re: no answer

Hello. Apologies. Sometimes posts get missed, and we can't answer them all. I notice you have made some posts that have been answered - I assume you are referring to the one posted on the 25th? Unfortunately the question is out of my area of expertise. Please accept that sometimes people do miss pos...
by JonnyW
Mon Dec 02, 2013 10:12 am
Forum: Flowcode V6
Topic: Component function C Code
Replies: 4
Views: 3569

Re: Component function C Code

Hi. What is it you require to do? Sometimes things are only important because we are not aware of any alternatives. In v6 there are many alternatives - I doubt there is much you can do in v5 that you can not do in v6. You can link C code into your components in v6 if this is what you want to do to p...
by JonnyW
Mon Dec 02, 2013 9:55 am
Forum: Flowcode V6
Topic: Decision Question
Replies: 7
Views: 4994

Re: Decision Question

Hi.

It would work if you orr the variables together: (A | B | C...) == 0

Upside is it is compact and produces less code. Downside is it is slower if the first value is zero (in which case && will not check any following values).

Cheers,

Jonny
by JonnyW
Sun Dec 01, 2013 11:29 pm
Forum: User Components
Topic: Component Creation Video Tutorial
Replies: 21
Views: 30130

Re: Component Creation Video Tutorial

Hi Stewart. I am not sure exactly where you mean in the video, but the quickest way is: To duplicate all properties of a sub-component make sure you have the root (panel) properties visible and from the 'Properties' entry drop-down select "Copy from...": 000030_Flowcode1 _.png To copy any changes ma...
by JonnyW
Sun Dec 01, 2013 8:41 pm
Forum: Feature requests
Topic: Remember size of Supplementary Code window
Replies: 1
Views: 2424

Re: Remember size of Supplementary Code window

I think that might be possible.

Jonny
by JonnyW
Sat Nov 30, 2013 11:35 am
Forum: Flowcode V6
Topic: Component function C Code
Replies: 4
Views: 3569

Re: Component function C Code

Good morning. There is no 'C-code' customisation ability like in v5. We are considering this as a possibility but as we can now easily package and pass around components it becomes a lot more difficult to then essentially give away the source for those professional-license components. We are looking...
by JonnyW
Sat Nov 30, 2013 12:41 am
Forum: Flowcode V6
Topic: Project options lost
Replies: 3
Views: 3328

Re: Project options lost

Hi Jan. I'll take a look at this asap.

Jonny
by JonnyW
Fri Nov 29, 2013 6:27 pm
Forum: Flowcode V6
Topic: Components gone - Patch V6.0.4.0
Replies: 2
Views: 2653

Re: Components gone - Patch V6.0.4.0

Hi Stewart. Nothings gone (or we would break existing programs). One major bugbear for people was cluttered lists. We have provided the ability for components to not appear in a category (but still be available through search). Click the 'search' option (far left) and type in 'switch'. When you see ...
by JonnyW
Fri Nov 29, 2013 5:09 pm
Forum: Flowcode V6
Topic: Project options lost
Replies: 3
Views: 3328

Re: Project options lost

Hi. I have not seen this in the latest build - what chip are you using?

Jonny
by JonnyW
Fri Nov 29, 2013 10:21 am
Forum: Flowcode V5 Free Edition
Topic: To interface fingerprint to PIC16F877A
Replies: 8
Views: 7622

Re: TO INTERFACE FINGERPRINT TO PIC16F877A

Hello. I would try sending the string "0x41" and see what comes out. When converting between strings and values, just so there is no confusion I would send printable character codes to be sure. Are you sending "OK" and "0xef" using exactly the same Flowcode calls? Can you write "OK" into the string ...
by JonnyW
Fri Nov 29, 2013 10:16 am
Forum: Flowcode V6
Topic: Basic Compiler Error - Any clues?...
Replies: 7
Views: 5984

Re: Basic Compiler Error - Any clues?...

Hi Brendan. Thank you.

We have let them know, but because on our own we can't make too many waves it is good for others with these issues to push the issue too as it gets sorted quicker.

Hopefully once the installs are all OK things are running smoothly!

Jonny
by JonnyW
Fri Nov 29, 2013 10:14 am
Forum: Flowcode V6
Topic: Compile problems - V6 Patch 6.0.4.0
Replies: 5
Views: 3679

Re: Compile problems - V6 Patch 6.0.4.0

Hi Stewart. Good point - yes and no. The issue is statically linked components. These are components that are essentially copied in their entirety into another component, so you do not need the original on your system. Usually all that is stored is a reference to the component and any altered proper...
by JonnyW
Thu Nov 28, 2013 11:16 pm
Forum: Flowcode V6
Topic: Compile problems - V6 Patch 6.0.4.0
Replies: 5
Views: 3679

Re: Compile problems - V6 Patch 6.0.4.0

Hi. Apologies for this - problem will only affect components embedded inside other components, but the next patch (we will get out asap) will fix this for you.

Jonny