In SX Microcontrollers, SX/B Compiler and SX-Key Tool, robotnerd007 wrote: Sorry for not being more specific. I do not have any pull up resistors connected to the encoder outputs. As I understand it the encoder operates TTl level so its high is 5v and that should trigger the SX (i dont have any resistors connected should i to protect the sx?). I am using the 400pulses per revolution http://www.usdigital.com/products/s5/ The current draw is pretty low so i connected ground on the encoder to ground and 5v on the board. have channel A of the encoder connected to RA0 and channel B is connected to RA1 on the breadboard on the SX tech board. The code does not work no matter what speed i move the encoder. I am borrowing a dual trace oscilloscope latter this week to check and make sure the encoder is functioning properly (it should though its brand new). I was there was an obvious error in the code that could be easily corrected but i guess not. Like i said before the only thing i need the SX for is counting encoder pulses for a basic stamp which takes care of everything else. If there is anything else you need to know about my setup let me know. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=259381#m259452 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)