Search found 394 matches

by LeighM
Tue Nov 28, 2023 6:08 pm
Forum: Bug Reports
Topic: STM32f401 Not Working
Replies: 20
Views: 7379

Re: STM32f401 Not Working

Could you attach your Flowcode program and the build/programming log (.txt file)
by LeighM
Tue Nov 28, 2023 9:42 am
Forum: General
Topic: Running Raspberry Pi program independantly of Flowcode
Replies: 4
Views: 1277

Re: Running Raspberry Pi program independantly of Flowcode

All users on Linux usually have their own directory on /home The default user on a Raspberry Pi is, or was, "pi", hence /home/pi This user and home directory will need to exist, or it could be /home/admin if you only have a user called admin. You need to tell Flowcode what this user name is, using t...
by LeighM
Mon Nov 27, 2023 4:36 pm
Forum: Bug Reports
Topic: ESP32! Not compile!
Replies: 3
Views: 2024

Re: ESP32! Not compile!

Looks like you have a disconnected pin, I would suggest checking all your component property pin connections.
Updates sometimes cause this.
by LeighM
Mon Nov 20, 2023 1:24 pm
Forum: Projects - Embedded
Topic: Variable types Versus PIC type
Replies: 9
Views: 9568

Re: Variable types Versus PIC type

On this target device, the "Qty_Tot * Pulses_Per_l" will give an INT result (even if it overflows)
this will then get saved as a LONG in Pulses

Try changing Qty_Tot to a LONG (this will force the maths on the right hand side)
by LeighM
Thu Nov 16, 2023 11:35 am
Forum: Feature Requests
Topic: Populating MySQL database function.
Replies: 45
Views: 70855

Re: Populating MySQL database function.

Just to add another piece to the jigsaw puzzle and good work from chipfryer27 Here's a demo of the capabilities of GNU/Linux and Flowcode. This script will install mysql and create a demo database and table. Edit the user 'leigh' to your login account and download it to your Raspberry Pi. In the ter...
by LeighM
Fri Nov 10, 2023 3:23 pm
Forum: General
Topic: Pi PICO SPI / CAN component pins in FC
Replies: 2
Views: 6107

Re: Pi PICO SPI / CAN component pins in FC

Try the attached, into
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PICO
(seems to work ok, one for the repo)
by LeighM
Fri Nov 10, 2023 1:08 pm
Forum: General
Topic: CSV writer (overwrite row data)
Replies: 6
Views: 11489

Re: CSV writer (overwrite row data)

... a trick used by the IBM AS/400 :lol:
by LeighM
Fri Nov 03, 2023 4:55 pm
Forum: Feature Requests
Topic: Populating MySQL database function.
Replies: 45
Views: 70855

Re: Populating MySQL database function.

Another idea would be to run a linux command using the system() call e.g. if you create a macro to take a string command, where you just have a C icon with system(FCL_COMMAND); Then create and pass in a command string such as (where 1,2,3 are your variable values) "echo 1,2,3 >> log.csv" will create...
by LeighM
Thu Nov 02, 2023 6:58 pm
Forum: General
Topic: Add controller support yourself
Replies: 2
Views: 2091

Re: Add controller support yourself

Attached is an (unofficial) fcd file to get you started, just drop this into directory
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\ARM
and restart Flowcode
As for F1 series, these will likely require extensive work so I will leave Matrix to comment on that
by LeighM
Thu Nov 02, 2023 9:43 am
Forum: Projects - Embedded
Topic: Device: ARM.F4.32F407VE
Replies: 2
Views: 3081

Re: Device: ARM.F4.32F407VE

... Also, what hardware do you have?
Such as, ST development board with embedded ST-LINK, stand alone ST-LINK programmer or something else?
Looks like the program has compiled ok but download has failed. Have you installed ST-LINK USB driver?