Search found 2 matches

by f6exb
Thu Apr 12, 2012 1:18 pm
Forum: C and ASM Programming
Topic: Bug in PIC_stepper.c ?
Replies: 3
Views: 4720

Re: Bug in PIC_stepper.c ?

No, I don't use MIAC system and "MX_MIAC_SYSTEM" is not defined at all.
I have only EB006, EB022 and Flowcode 4.5
Without the mod, I couldn't get the stepper running.

It seems to me that if I don't use MIAC, instructions :

clear_bit(MX_%q_TRIS1, MX_%q_PIN1);
clear_bit(MX_%q_PORT1, MX_%q_PIN1 ...
by f6exb
Wed Apr 11, 2012 9:48 pm
Forum: C and ASM Programming
Topic: Bug in PIC_stepper.c ?
Replies: 3
Views: 4720

Bug in PIC_stepper.c ?

Hello,

I'm using FlowCode V4.5 with EB006 board.

I could not run a stepper motor using the macro component, even with enablemotor and disablemotor instructions.
The animation, was runing fine.
Looking at the code PIC_stepper.c, final instructions "#endif" of / * Macro_EnableMotor_Start * / and ...