INFO - FAQ - CC2-Forum - CCPro-Forum |
try putting the motors in continuous mode, then stopping the motors and then getting a reading otherwise i will have to try something else, Greeting, H.J. Windt > Hello, > > stopping the motor is not the solution. Reading is still High word= -1 and Low word = -1. > I incremented the number of readout bytes in my programm to 8 to see if RN-MOTOR > gives out more information, but all bytes are 255??? > > Greetings > Gaston > > > > > Hello, > > This is strange!?, my i2c write and read subroutines have worked perfectly on other micro controller based i2c slaves, I have followed the RN-MOTOR pdf file exactly for reading the steps, try stopping the motors before you take a reading, maybe this will work. > > Greetings, > > H.J. Windt > > > > > > > Hello again, > > > > > > I have tested the programm and its works fine but when reading the motor steps the display is always > > > High word= -1 and Low word = -1 > > > > > > I have tested the readout routine in my own programm and found that all 4 bytes are 255, so I think there is a little problem with the readout routine. > > > > > > Greetings > > > Gaston > > > > > > > > > |
Antwort schreiben |