Search found 480 matches

by LeighM
Sat Aug 30, 2025 3:52 pm
Forum: Bug Reports
Topic: EXTI Interrupt Issue on STM32
Replies: 18
Views: 4231

Re: EXTI Interrupt Issue on STM32

Hi, I've bought an STM32F303 development board to play with. I've not had any issues with the timer interrupt. However, my testing has thrown up an issue with the 32F303CB FCD, the config section is missing the HSE source divider parameter. This means it would be easy to accidentally overclock the d...
by LeighM
Sun Aug 24, 2025 3:21 pm
Forum: Bug Reports
Topic: Pi HDMI component colours are not right
Replies: 9
Views: 222

Re: Pi HDMI component colours are not right

Yes, background colour is a common trap :)
You need to remember that SetColour just changes the "ink" for the next drawing operation.
So after SetBackgroundColour you need a ClearScreen
by LeighM
Sun Aug 24, 2025 2:21 pm
Forum: Bug Reports
Topic: Pi HDMI component colours are not right
Replies: 9
Views: 222

Re: Pi HDMI component colours are not right

Just had a quick look at the component, and it looks like it uses the same colour encoding for the Raspberry Pi target code as for the simulation code, namely 32 bit colour depth and 8 bits for the individual colours. I think the Pi frame buffer (16 bpp) should be RGB565 format. edit: Ah, silly me, ...
by LeighM
Sun Aug 24, 2025 1:14 pm
Forum: Bug Reports
Topic: Pi HDMI component colours are not right
Replies: 9
Views: 222

Re: Pi HDMI component colours are not right

Thanks.
I was nearly correct 😁
I've just run it in debug mode (set 1 in the debug macro) and my setup reports 16 bits per pixel.
That's a lower colour depth than the code assumes.
The plot continues...
by LeighM
Sun Aug 24, 2025 12:25 pm
Forum: Bug Reports
Topic: Pi HDMI component colours are not right
Replies: 9
Views: 222

Re: Pi HDMI component colours are not right

The component was developed back in the days of 32 bit OS. I suspect that now with 64 bit the colour depth has increased. I'll have a play when I next get chance :D
by LeighM
Fri Aug 22, 2025 10:45 pm
Forum: General
Topic: Not happy looking for examples
Replies: 26
Views: 4723

Re: Not happy looking for examples

Ah, well done 😁
Yes, you will still need the static modification for latest OS, otherwise version 12 of the GCC compiler.
by LeighM
Fri Aug 22, 2025 7:34 pm
Forum: General
Topic: Not happy looking for examples
Replies: 26
Views: 4723

Re: Not happy looking for examples

Hi Bob I've just found a bit of time to do more testing and copy what you have - same result, no screen output. I had previously tested on lite (no desktop) version as all my pi units are headless servers. I thought the component had worked with desktop version in the past, maybe it now uses a diffe...
by LeighM
Thu Aug 21, 2025 11:45 am
Forum: General
Topic: Ethernet module
Replies: 15
Views: 2122

Re: Ethernet module

If you want to use Raspberry Pi and its interface, you could use arp-scan sudo arp-scan --interface=eth0 192.168.0.0/24 You could call this in a Flowcode C icon and redirect the output to a file system("sudo arp-scan --interface=eth0 192.168.0.0/24 > scan.txt"); Then use the Flowcode File ...
by LeighM
Thu Aug 21, 2025 10:14 am
Forum: General
Topic: Not happy looking for examples
Replies: 26
Views: 4723

Re: Not happy looking for examples

• Compile and deploy your Flowcode project to the Raspberry Pi (“Compile to Target”) • On your development Windows PC, run the Terminal (Command Prompt) • Login to the Raspberry Pi by typing ssh admin@192.168.0.21 • If you get a message question about adding the key, type yes • Enter your admin user...
by LeighM
Wed Aug 20, 2025 3:57 pm
Forum: General
Topic: Not happy looking for examples
Replies: 26
Views: 4723

Re: Not happy looking for examples

When running the program directly (from a console) do you get any (error) messages?