Encoder.h() Write() function

Status
Not open for further replies.

ptmahval

New member
Hi, How are all you?
I am new on this forum,
I am not a teensy user yet, already I have started to use Arduino plataform,
and I am using the Teensy Encoder.h library,

for two low cost encoders govern two steppers position,
from an Arduino MEga, also this one comunicates with an Arduino uno,
by I2C, and this one with a I2C 20x4 LCD for display position in real time.

and it works fine on my code, until I try to use the Write () function for this library,
to actualize the real positon of one motor to the encoder library.
at this point the encoder in view stops work, and the remain code continues working,
could somebody help me with this issue?

I attach my code, the lines of the code that causes the encoder fail appears commented. :eek:

please , my be someone could see that I can't see..

thanks
 

Attachments

  • Final_MEGA.ino
    9.5 KB · Views: 52
Status
Not open for further replies.
Back
Top