slviajero/tinybasic

Motor encoders and interrupts

Closed this issue · 1 comments

Hi Stefan - sorry for being away from this project for far too long! I have a question regarding the use of HC-020K optical encoders for motor control - namely the best way to use interrupts and/or the best commands to allow for the counting of pulses from them. I have attempted using the EVENT command but it appears I am getting a pulse length and not a count of pulses. Best regards and I look forward as always to your feedback! - Brian