Search found 14 matches

by Zhmil1789
Fri Jun 19, 2026 5:37 am
Forum: General
Topic: Problems with buttons.
Replies: 3
Views: 319

Re: Problems with buttons.

Thank you very much for reply Mr Steve. Problem was with microcontroller, I download the program to another hardware and it works correctly.

Best regards
Zhmil1789
by Zhmil1789
Thu Jun 18, 2026 12:08 pm
Forum: General
Topic: Problems with buttons.
Replies: 3
Views: 319

Problems with buttons.

Hello. I’m sorry to bother you, but I need some help. I spent a very long time working on the firmware and it was working fine. I didn’t tinker with the circuit at all. But today, when I added a new component, the buttons stopped working altogether. Could you please have a look to see what I might h...
by Zhmil1789
Tue May 26, 2026 8:07 am
Forum: General
Topic: A4988 control velocity Stepper
Replies: 3
Views: 748

Re: A4988 control velocity Stepper

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
by Zhmil1789
Tue May 26, 2026 7:33 am
Forum: General
Topic: A4988 control velocity Stepper
Replies: 3
Views: 748

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
by Zhmil1789
Wed May 20, 2026 10:51 am
Forum: General
Topic: MCP23017 - One I2C transaction for stepper motor control
Replies: 3
Views: 839

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
by Zhmil1789
Wed May 20, 2026 10:16 am
Forum: General
Topic: MCP23017 - One I2C transaction for stepper motor control
Replies: 3
Views: 839

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...
by Zhmil1789
Fri May 15, 2026 5:59 am
Forum: General
Topic: Encoder troubles
Replies: 5
Views: 1288

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
by Zhmil1789
Thu May 14, 2026 12:32 pm
Forum: General
Topic: Encoder troubles
Replies: 5
Views: 1288

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
by Zhmil1789
Thu Apr 30, 2026 6:20 am
Forum: General
Topic: Button on FlowCode 10
Replies: 1
Views: 690

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...
by Zhmil1789
Fri Apr 24, 2026 2:31 pm
Forum: General
Topic: Stepper Motor with a A4988
Replies: 3
Views: 1442

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