Originally posted by Nachodog Hey Chris, that's awesome! I'm definitely going to try out your program when I get a chance.
Thanks Alex!
Originally posted by Nachodog Just a quick couple of questions though:
1. Will the values set in the calibration section remain in memory (cached) or does it need to be run every session? (Genius idea btw)
Not yet - though I've just read that you can store a variable in one of the graphics storage variables and read it back - but it slows it down a touch. I'll try and implement it next time around.
Originally posted by Nachodog 2. Also could you explain the reasoning for connecting the camera after the program has started?
Just the electronics geek in me. With 3.3v on the output pins, why risk it? If someone want to correct me please do - I'm happy to eat humble pie
Originally posted by Nachodog 3. Can you also explain why you set D to 10000? Is it just a dummy variable or does the 10000 have some significance?
This is my attempt to make sure that the value in the Send has no effect. I've had inconsistent results on the trigger event. This seems to help along with fresh batteries. I'm looking into Assembly Language control of the port instead (this is actually a Zilog Z80 - for those that remember CP/M!!)
Originally posted by Nachodog 4. Lastly, I can't figure out what the Y variable does. Looks like a counter of some sort, but the C variable seems to hold that job.
Now thats a bit subtle. Y is there to provide a small delay in the loop in the same way that when the calibration phase is storing a number. There are clock cycles for every event, and storing values uses some too. So try and repeat the event.
Originally posted by Nachodog Sorry for all the questions. I'm not a programmer at all (do a bit of html and php and did a very little in college) but I really would like to know what the program does every step of the way.
Thanks again!
Hope that answers most of your questions.
BTW, anyone with a TI84 or better doesn't need the calibration phase as there is a timer command in TIbasic. That would be better than this attempt.
Cheers