Search found 1151 matches

by Steve-Matrix
Fri Apr 11, 2025 2:44 pm
Forum: User Components
Topic: Max. values in Delay component
Replies: 2
Views: 1743

Re: Max. values in Delay component

Looking at the code, the delay functions accept a 16-bit unsigned integer, so you are correct. Although you may want to check when using large values for us delays as opposed to the equivalent ms delay. In practice, a 5000us delay may give a different result to a 5ms delay, especially on slower devi...
by Steve-Matrix
Tue Apr 08, 2025 1:39 pm
Forum: General
Topic: Flowcode 7.3.0.5
Replies: 3
Views: 555

Re: Flowcode 7.3.0.5

To activate Flowcode versions v6 to v8, you should refer to the instructions in this FAQ:

https://www.flowcode.co.uk/faqs/offline ... -to-v8.php
by Steve-Matrix
Mon Mar 31, 2025 2:13 pm
Forum: Projects - Embedded
Topic: Setting Register Value in C Code
Replies: 4
Views: 756

Re: Setting Register Value in C Code

The short answer is FCL_MYVAR. The suffix for globals is "FCV_" and the suffix for locals is "FCL_". In the C-code icons (which includes any other icons that have been customised), you can drag variables from the lists on the right onto the C code. When dropped, they will be adde...
by Steve-Matrix
Mon Mar 31, 2025 10:00 am
Forum: Bug Reports
Topic: Compile Error
Replies: 6
Views: 1292

Re: Compile Error

Thanks. I have moved this to the "bug reports" page and we will investigate and hopefully fix this soon.
by Steve-Matrix
Mon Mar 31, 2025 9:58 am
Forum: Projects - Embedded
Topic: Setting Register Value in C Code
Replies: 4
Views: 756

Re: Setting Register Value in C Code

When robbing, bodging and checking against with C code examples from Microchip application notes, I see they use an easier to read method. PIR1bits.CCP1IF = 0; // Clear CCP1 interrupt flag PIE1bits.CCP1IE = 1; // Enable the CCP1 int Can this method be used without issue in Flowcode C code component...
by Steve-Matrix
Mon Mar 31, 2025 9:24 am
Forum: Bug Reports
Topic: WS2811
Replies: 7
Views: 1559

Re: WS2811

Sorry. It looks like we have overlooked this. We'll investigate and report back asap.

In the meantime, you can revert to an earlier working version of the component using the library updates panel.
by Steve-Matrix
Mon Mar 31, 2025 9:15 am
Forum: App Developer
Topic: List of the macros in the sMacroCalled Propriety
Replies: 2
Views: 4639

Re: List of the macros in the sMacroCalled Propriety

Unfortunately there is no way to currently organise the macros in that dropdown menu. I will investigate to see what can be done.
by Steve-Matrix
Mon Mar 17, 2025 9:21 am
Forum: Bug Reports
Topic: Annoying Bug
Replies: 3
Views: 1780

Re: Annoying Bug

Thanks, Alan. That other workaround should help others who face the same issue.
by Steve-Matrix
Fri Mar 14, 2025 1:46 pm
Forum: General
Topic: Modbus CRC problems
Replies: 8
Views: 6586

Re: Modbus CRC problems

Try just using WriteData without the square brackets.
by Steve-Matrix
Thu Mar 13, 2025 8:51 am
Forum: Bug Reports
Topic: Annoying Bug
Replies: 3
Views: 1780

Re: Annoying Bug

Hi Alan, Thanks for letting us know. If this happens, then I have a workaround that can be used to retain this. If you open a C code icon and discover there is no code there, click cancel and then view the macro as C code. Then edit the code of the C-code icon directly in the C-code view (by double-...