Can someone walk me through how to obtain the desired delay time? I've read on the website and through the forums but I for whatever reason can't get mine working correctly.
I'm new to SpinAsm so I'm just trying for a simple delay right now. I'm getting the delay, however, the timing and the potentiometer control is confusing me.
; read pot1 -- Delay Time
rdax pot1,1
;and %01111100_00000000_00000000
sof 0.1,0 ; 0 - 100ms????
wrax addr_ptr,0
I thought my SOF code would get me the desired delay time. I don't think it is. And currently my delay time potentiometer works in the reverse of what I'd like. I've fixed this in the past, but currently it's messed up.
Sorry for the basic question, just trying to learn this stuff. What is the formula for using a potentiometer and obtaining a specific delay time?
Delay Time with POT
Moderator: frank
Re: Delay Time with POT
See the code in this thread http://www.spinsemi.com/forum/viewtopic.php?f=3&t=104 every line is commented to explain exactly what happens at each step
Frank Thomson
Experimental Noize
Experimental Noize
-
- Posts: 7
- Joined: Fri Aug 30, 2019 6:25 pm
Re: Delay Time with POT
Thank you very much.