I accidentally deleted the interrupt in the main function. I’ll attach the corrected version.
I wanted the speed of the stepper motor to change gradually, i.e. at first the stepper motor moves slowly, then faster. But when I press the button, nothing happens.
Kind regards
Search found 12 matches
- Tue May 26, 2026 8:07 am
- Forum: General
- Topic: A4988 control velocity Stepper
- Replies: 3
- Views: 599
- Tue May 26, 2026 7:33 am
- Forum: General
- Topic: A4988 control velocity Stepper
- Replies: 3
- Views: 599
A4988 control velocity Stepper
Hello.
I apologise for bothering you. I’m having a problem with the timer in Flowcode; I don’t understand how to use it to control the speed of a stepper motor. Could you please point out where I’ve gone wrong so that I can correct it?
Kind regards
Zhmill1789
I apologise for bothering you. I’m having a problem with the timer in Flowcode; I don’t understand how to use it to control the speed of a stepper motor. Could you please point out where I’ve gone wrong so that I can correct it?
Kind regards
Zhmill1789
- Wed May 20, 2026 10:51 am
- Forum: General
- Topic: MCP23017 - One I2C transaction for stepper motor control
- Replies: 3
- Views: 760
Re: MCP23017 - One I2C transaction for stepper motor control
Thank you for your reply! Could you tell me exactly what you mean by custom version? In flowcode, can I download the components myself and customize them?
With respect
Zhmil1789
With respect
Zhmil1789
- Wed May 20, 2026 10:16 am
- Forum: General
- Topic: MCP23017 - One I2C transaction for stepper motor control
- Replies: 3
- Views: 760
MCP23017 - One I2C transaction for stepper motor control
Hi, I am using Flowcode with MCP23017 I2C expander to control a stepper motor. I have two pins on PORTA: Pin 0 = direction Pin 1 = step Currently I use WritePortPin macro in a loop with delays between steps. This creates separate I2C transaction for each step. According to MCP23017 datasheet, Byte m...
- Fri May 15, 2026 5:59 am
- Forum: General
- Topic: Encoder troubles
- Replies: 5
- Views: 1251
Re: Encoder troubles
Hello Ben,
Thank you for the examples. Unfortunately neither encoder_timer.fcfx nor encoder_edge.fcfx work on my Flowcode 10. The servo still does not move in simulation.
Is there anything different I need to do in Flowcode 10 to make the encoder work with a servo?
Best regards,
Zhmil1789
Thank you for the examples. Unfortunately neither encoder_timer.fcfx nor encoder_edge.fcfx work on my Flowcode 10. The servo still does not move in simulation.
Is there anything different I need to do in Flowcode 10 to make the encoder work with a servo?
Best regards,
Zhmil1789
- Thu May 14, 2026 12:32 pm
- Forum: General
- Topic: Encoder troubles
- Replies: 5
- Views: 1251
Encoder troubles
Hello,
I tried to control a servo with an encoder, and I have some troubles. I cannot find where I made a mistake. I will be thankful if someone checks my project.
Best regards,
Zhmil1789
I tried to control a servo with an encoder, and I have some troubles. I cannot find where I made a mistake. I will be thankful if someone checks my project.
Best regards,
Zhmil1789
- Thu Apr 30, 2026 6:20 am
- Forum: General
- Topic: Button on FlowCode 10
- Replies: 1
- Views: 665
Button on FlowCode 10
Good day. First of all, I’d like to thank you for your advice regarding the A4988. I’d like to ask for your help—I needed to connect a button using the algorithm I’ve attached. In this algorithm, when the button is pressed, the LED should turn on and flash, but the button isn’t being recognized on e...
- Fri Apr 24, 2026 2:31 pm
- Forum: General
- Topic: Stepper Motor with a A4988
- Replies: 3
- Views: 1413
Stepper Motor with a A4988
Good afternoon. Could you tell me if FlowCode has a built-in speed parameter? I’d like to change it, but the only way I’ve found is to use the delay function, and that’s not ideal for complex programmes.
Kind regards
Zhmill1789
Kind regards
Zhmill1789
- Wed Apr 22, 2026 1:04 pm
- Forum: General
- Topic: RPI Pico Servo-control
- Replies: 3
- Views: 1478
Re: RPI Pico Servo-control
So, does flowocode 11 support servo component on RPi Pico?
Regards,
Zhmill1789
Regards,
Zhmill1789
- Tue Apr 21, 2026 12:36 pm
- Forum: General
- Topic: RPI Pico Servo-control
- Replies: 3
- Views: 1478
RPI Pico Servo-control
Hello everyone!
I'm having trouble connecting a servo motor to a microcontroller via Flowcode. I don't understand why I'm getting this error, since everything looks fine in the debugger. Could you please advise me on where I might have made a mistake?
Thank you for reading my post!
Best regards.
I'm having trouble connecting a servo motor to a microcontroller via Flowcode. I don't understand why I'm getting this error, since everything looks fine in the debugger. Could you please advise me on where I might have made a mistake?
Thank you for reading my post!
Best regards.