Search found 1750 matches

by mnfisher
Tue Apr 21, 2026 9:54 pm
Forum: General
Topic: FREERtos on FlowCode Library for RPi Pico
Replies: 3
Views: 272

Re: FREERtos on FlowCode Library for RPi Pico

Hi, If the Pico is running FreeRTOS as the 'OS' - would it be possible to use FreeRTOS functions - such as xTaskCreate - in FC (using C blocks / supplementary code) as on the esp32? There are several examples for the esp32 on the forums - using such features as tasks / queues etc - and it might be w...
by mnfisher
Mon Apr 20, 2026 11:05 pm
Forum: Projects - Embedded
Topic: Fun with Flowcode - Binary Search
Replies: 3
Views: 119

Re: Fun with Flowcode - Binary Search

Possibly.... Did have a look out for the Lyrids meteor shower this evening without success (peak is still a day or two away)

It was cold outside... No kind of atmosphere..

All together now 🤗
by mnfisher
Mon Apr 20, 2026 3:33 pm
Forum: Bug Reports
Topic: String comparison esp32
Replies: 6
Views: 196

Re: String comparison esp32

Thanks Steve/Ben,

Just tested - and there is sill a 255 lurking at line 517.

Martin
by mnfisher
Mon Apr 20, 2026 1:27 pm
Forum: Bug Reports
Topic: String comparison esp32
Replies: 6
Views: 196

Re: String comparison esp32

Thanks - I missed that post....

However - the tooltips (for example calculation-Function$) - show '-1' for less than - and simulation also returns -1 making the transfer to hardware more difficult?

Martin
by mnfisher
Mon Apr 20, 2026 1:20 pm
Forum: Projects - Embedded
Topic: Fun with Flowcode - Binary Search
Replies: 3
Views: 119

Fun with Flowcode - Binary Search

One common task for computers is searching data and retrieving values. Search is important - and returning a value often needs to be fast - equally determining that a value doesn't exist must be efficient too! One useful algorithm for this purpose - is the binary search. This requires that the data ...
by mnfisher
Mon Apr 20, 2026 12:12 pm
Forum: Bug Reports
Topic: String comparison esp32
Replies: 6
Views: 196

String comparison esp32

This had me scratching my head... The Compare$ function on esp32 seems to return the wrong value. So > returns 1, = returns 0 - but < doesn't return -1. It seems to return 255 (returns a signed byte? - but it doesn't get sign extended if assigned to an int, and FC a byte is unsigned (0..255)) The at...
by mnfisher
Mon Apr 20, 2026 12:05 pm
Forum: Projects - Embedded
Topic: Microchip xc16 compiler settings with Flowcode 11
Replies: 8
Views: 317

Re: Microchip xc16 compiler settings with Flowcode 11

Glad you've got it working.... I'd just downloaded the new compiler for a try - phew...

Martin
by mnfisher
Sun Apr 19, 2026 8:16 pm
Forum: Projects - Embedded
Topic: Microchip xc16 compiler settings with Flowcode 11
Replies: 8
Views: 317

Re: Microchip xc16 compiler settings with Flowcode 11

See compiler->options->parameters:

"$(compilerpic16)" "$(target)" "$(outdir)" "$(chip:u)"

(at least in v11) - so compiler is %1, target(file) %2 etc

You can change these - but check the settings 'stick'....

Martin
by mnfisher
Sun Apr 19, 2026 11:42 am
Forum: Projects - Embedded
Topic: Microchip xc16 compiler settings with Flowcode 11
Replies: 8
Views: 317

Re: Microchip xc16 compiler settings with Flowcode 11

... and looks like the source is parameter 2 not 1....

I added ECHO to output the command line from the batch file. Though it seems to get truncated a bit (at output at least).

From the FC batch:

@SET MX_COMPILER=%~1
@SET MX_PROJECT=%2 // Flowcode1!
@SET MX_OUTDIR=%~3
@SET MX_CHIP=%4
by mnfisher
Sat Apr 18, 2026 10:39 pm
Forum: Projects - Embedded
Topic: Microchip xc16 compiler settings with Flowcode 11
Replies: 8
Views: 317

Re: Microchip xc16 compiler settings with Flowcode 11

I think you need to use %~1 (instead of %1) to remove the double quotes...

Currently the compiler is looking for "flowcode1".c rather than flowcode1.c

Martin