Search found 1285 matches

by Steve-Matrix
Wed Dec 10, 2025 6:21 pm
Forum: General
Topic: C Based Delay - with and Without Timers
Replies: 10
Views: 144

Re: C Based Delay - with and Without Timers

At 5MHz, 5 NOPs in a delay would be 1us delay.
by Steve-Matrix
Wed Dec 10, 2025 5:07 pm
Forum: General
Topic: Generate a siren sound
Replies: 1
Views: 72

Re: Generate a siren sound

You can probably change the PR2 value programmatically, but you may need to use C code in an icon. This post in our old forums might be of use:
https://flowcode.co.uk/mmforums/viewtop ... 047#p36047
by Steve-Matrix
Wed Dec 10, 2025 4:59 pm
Forum: Bug Reports
Topic: Raspberry Pi pin numbers
Replies: 1
Views: 53

Re: Raspberry Pi pin numbers

Thanks for raising this issue - I have added it to my list and will try to fix in a future release of Flowcode.
by Steve-Matrix
Tue Dec 09, 2025 11:32 am
Forum: Tips & Tricks
Topic: Flowcode YouTube Videos Links
Replies: 7
Views: 632

Re: Flowcode YouTube Videos Links

There are pages on the wiki that may help, such as:
https://www.flowcode.co.uk/wiki/index.p ... ay_Creator

The components that can be dragged into a Display Creator window can be found in:

Code: Select all

Component Libraries...Displays...Graphical Manager Primitives
by Steve-Matrix
Tue Dec 09, 2025 10:06 am
Forum: General
Topic: PIC16 toolchain for FC9
Replies: 22
Views: 14151

Re: PIC16 toolchain for FC9

Please post your msg.txt file as that might offer some clues as to why it is not working for you.
by Steve-Matrix
Tue Dec 09, 2025 10:00 am
Forum: General
Topic: Error codes when compiling to target
Replies: 1
Views: 76

Re: Error codes when compiling to target

If I search for that "avrdude.exe: stk500_loadaddr(): (a) protocol error, expect=0x14, resp=0x08" error on the web, I get the following suggestions: checking your USB cable/port ensuring the correct board/port is selected closing other serial programs pressing the board's reset button just...
by Steve-Matrix
Mon Dec 08, 2025 9:41 am
Forum: General
Topic: 2nd HDMI port on Pi 4 & 5
Replies: 2
Views: 149

Re: 2nd HDMI port on Pi 4 & 5

I suspect this is not currently possible with Flowcode. It's a long time since I have used a Raspberry Pi and I don't have a 4B to test with.

I'm sure there would be a way, but this probably involves custom code and some advanced tricks.
by Steve-Matrix
Mon Dec 08, 2025 9:17 am
Forum: Tips & Tricks
Topic: Flowcode YouTube Videos Links
Replies: 7
Views: 632

Re: Flowcode YouTube Videos Links

Many of the projects in the videos are part of the examples that can be opened when you start Flowcode (New project...Open an example or template). For these 2 videos, the projects are both under the "Introduction to micros" section for PIC, Arduino and ESP32. Although the "colour dis...
by Steve-Matrix
Thu Dec 04, 2025 3:53 pm
Forum: User Components
Topic: Flowcode document name
Replies: 8
Views: 354

Re: Flowcode document name

The constant is a string and should be called "MYFILENAME". Yes, you will need to create the variables. The alternative is to export the macro from my project and import it into your project. This will retain the local variables, but you will need to manually link this to the AddConst even...
by Steve-Matrix
Thu Dec 04, 2025 2:47 pm
Forum: User Components
Topic: Flowcode document name
Replies: 8
Views: 354

Re: Flowcode document name

Here are the steps that I did to create it in that attached project: Create a global constant Double-click the Compile::Ev_AddConst event in Project Explorer Double-click <Add new> Click "OK" Click "OK and Edit Macro" Add code as per my example to the Ev_AddConst macro If the &qu...