Search found 394 matches

by LeighM
Sat Apr 27, 2024 12:10 pm
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 13
Views: 113

Re: Timer interval and Timer - problem

You could do with exploring the Help -> Wiki -> Components search
Then ensure you have set the component properties.
For example, for the TimedInterval component you need to set a callback macro (that runs at the timed interval)
by LeighM
Fri Apr 26, 2024 4:43 pm
Forum: Bug Reports
Topic: Timer interval and Timer - problem
Replies: 13
Views: 113

Re: Timer interval and Timer - problem

1) Help -> Library Updates
2) Add a Timer component macro to your project

timer.jpg
timer.jpg (38.53 KiB) Viewed 38 times

Note: Timer component is not needed for simple Delay icon.
by LeighM
Fri Apr 26, 2024 4:25 pm
Forum: Projects - Embedded
Topic: PICO GP IO Internal weak Pull UP Down
Replies: 2
Views: 31

Re: PICO GP IO Internal weak Pull UP Down

Try this C code

Code: Select all

gpio_pull_up(5);
It might need to be placed after a Switch Read macro, which will initialise the pin for input.
by LeighM
Sat Apr 20, 2024 10:00 pm
Forum: Bug Reports
Topic: STM32f411CE RCC / Timings
Replies: 6
Views: 115

Re: STM32f411CE RCC / Timings

Yes, that's correct
by LeighM
Sat Apr 20, 2024 12:57 pm
Forum: Bug Reports
Topic: STM32f411CE RCC / Timings
Replies: 6
Views: 115

Re: STM32f411CE RCC / Timings

Ah, well done.

As there are a number of internal clocks, everything relates to the input clock frequency (internal, or external crystal)
So it's the input clock frequency that is limited to 26Mhz (and is set in the project options clock speed)
by LeighM
Sat Apr 20, 2024 8:56 am
Forum: Bug Reports
Topic: STM32f411CE RCC / Timings
Replies: 6
Views: 115

Re: STM32f411CE RCC / Timings

Have you set the clock speed in project settings, to the frequency of the external crystal?
Just checking :D
Otherwise, could you post an example project?
by LeighM
Tue Apr 09, 2024 10:44 pm
Forum: Projects - Embedded
Topic: SPI_ Master SendByteArray only sending once in loop
Replies: 5
Views: 147

Re: SPI_ Master SendByteArray only sending once in loop

I think the array gets filled with the received in data.
But I can't check the component just now.
by LeighM
Tue Mar 26, 2024 6:26 pm
Forum: Bug Reports
Topic: GPS not send LAT_LONG
Replies: 27
Views: 619

Re: GPS not send LAT_LONG

As chipfryer27 says, I would suspect the issues are due to weak received signal strength. Time reception does not require sight of multiple satellites, position does. Can you run the setup outside, or near a window?
by LeighM
Sun Mar 24, 2024 9:50 pm
Forum: Projects - Embedded
Topic: RS485 example
Replies: 41
Views: 1161

Re: RS485 example

output of the Tx terminal of the pic within Proteus, activity is seen but what the virtual terminal reads does not correspond to the values ​​that Flowcode is sending.
A baud rate issue?
Is the PIC clock setup ok?
by LeighM
Sat Mar 09, 2024 10:10 am
Forum: General
Topic: Any Pin Interrupt
Replies: 6
Views: 221

Re: Any Pin Interrupt

Use the Flowcode Interrupt icon
Add it once at the start of your main program.
It has properties where you set the input pin to be used, and the macro to call when the interrupt occurs.