Search found 512 matches

by LeighM
Sat Jan 03, 2026 3:44 pm
Forum: General
Topic: FC11 compile error
Replies: 4
Views: 169

Re: FC11 compile error

Have a look at these posts ... https://www.flowcode.co.uk/forums/viewtopic.php?t=3467 https://www.flowcode.co.uk/forums/viewtopic.php?p=21794#p21794 Ben, can you update the CAL file please, and I suspect the file versions might be in error, my V11 compiles this test project OK, but my CAL file is V1...
by LeighM
Sat Jan 03, 2026 1:38 pm
Forum: General
Topic: FC11 compile error
Replies: 4
Views: 169

Re: FC11 compile error

Have you done a full database update?
I've a feeling this has been fixed,
But I'm not currently in near my PC to check
by LeighM
Sat Dec 27, 2025 5:26 pm
Forum: Projects - Embedded
Topic: SOLVED: Reading AS5600 registers with ARM using I2C Transactions
Replies: 7
Views: 350

Re: Reading AS5600 registers with ARM using I2C Transactions

Just to add to Martin's note...
If that 0x8001 restart doesn't work on this device,
I2C restart is the same as stop/start in functionality, just a bit quicker.
So a write transaction of 1 byte with the register address, followed by a read one byte transaction should work equally well.
by LeighM
Mon Dec 22, 2025 10:51 am
Forum: General
Topic: Raspberry Pi program launcher
Replies: 6
Views: 436

Re: Raspberry Pi program launcher

Another possibility is using crontab @reboot (with a sleep)
by LeighM
Sun Dec 14, 2025 6:24 pm
Forum: Bug Reports
Topic: cirular buffer & blackpill
Replies: 2
Views: 275

Re: cirular buffer & blackpill

Hi, If you use the RX interrupt, then you should only process one received character within the called macro, putting it into a circular buffer is the best approach. Then in your main macro use the circular buffer commands to determine when you have received a string and process it. (You can't mix i...
by LeighM
Fri Dec 12, 2025 2:55 pm
Forum: Tips & Tricks
Topic: Getting program to run from boot (Raspberry Pi)
Replies: 4
Views: 644

Re: Getting program to run from boot (Raspberry Pi)

These changes relate to the recent adoption of systemd. As a user of Unix/Linux for several decades it's all unwelcome changes for me :?
by LeighM
Fri Dec 12, 2025 1:56 pm
Forum: Tips & Tricks
Topic: Getting program to run from boot (Raspberry Pi)
Replies: 4
Views: 644

Re: Getting program to run from boot (Raspberry Pi)

Thanks for the heads up on that, just to add a bit of caution... /home/pi/.bashrc will only run when you log in, which happens automatically when you boot up and go directly to the desktop and also every time when a new terminal is opened, or when a new SSH connection is made. A search found this, b...
by LeighM
Thu Dec 11, 2025 10:11 pm
Forum: General
Topic: Timer or interupt?
Replies: 19
Views: 2322

Re: Timer or interupt?

"!1" ?
That won't toggle.
As usual, it's best if you can attach your program file, then we can see what exactly you are doing.
by LeighM
Wed Dec 10, 2025 9:00 pm
Forum: General
Topic: C Based Delay - with and Without Timers
Replies: 10
Views: 1077

Re: C Based Delay - with and Without Timers

How are you measuring it?
If you are toggling an output pin then you need to factor in those instruction times, and any loop/jump, as well.
by LeighM
Wed Dec 10, 2025 3:02 pm
Forum: General
Topic: UART Baud and Bit rate Measurement With a scope.
Replies: 3
Views: 481

Re: UART Baud and Bit rate Measurement With a scope.

Yep, AI is wrong, as usual :roll:
Depends what you asked though.
Your screen shot method is correct for UART baud.