potatohead Posted August 3, 2005 Share Posted August 3, 2005 (edited) Here is what I learned so far: %10000010 ---> VBLANK (This is supposed to ground the paddles & enable vblank) Question #1, do you have to enable vblank to get the paddle to work? After some amount of time, you do this to let the paddles charge. %00000010 ---> VBLANK Same question here. Then you start counting while looking at the paddle input, when you see a 1, you stop and that's your paddle reading right? How long it takes to get the 1, depends on the paddle position and it's resistance to the incoming current released by the command above. paddlevalue = paddlevalue + 1 if bit 7 of INPT0 is 1 then stop counting. Is this even close to being right? Coupla other questions: Can the timers be used while the users basic code is running? I see timers referenced in the assembly code, but don't know where to look to find out more about them, or it I suppose. Edited August 3, 2005 by potatohead Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.