Ok, they all seem to be working now. Thanks very much for your quick response.
Type: Posts; User: codemonkey
Ok, they all seem to be working now. Thanks very much for your quick response.
I'm also getting an error with PASD_062.zip, windows<xp, vista> is reporting the archive is either in unknown format or damaged. Thanks!
Yep, that cured the problem. Thanks for the quick response!
Looked through the propbasic thread, looks like it will be a great tool. Thanks for all your hard work bean and jonnymac
Tried downloading propbasic docs from beginning of thread, getting adobe...
So how does this wing change shape for being on different tacks?
A. Hub ram (L) and portion of cog(s) ram (R)
B. chunk of [cog processors - data bus - hub ram]
C. output for pins 0-15
Let's make it easy. I'll give you my address and you can just mail it straight away to me.
Just in case you didn't know about the object exchange that has a bunch of useful objects running around in it(http://ww1.parallax.com/Default.aspx?tabid=65), especially one object that supports a...
After seeing Beau's code, then heading right to the spin manual to figure out what they do, then having to read the description to find out what the heck they really do [i guess that's the difference...
Uh, i just looked a bit more carefully. The repeat is commented out--that would certainly put somewhat of a damper on the waitpeqs repeating. Also, you probably already know to watch your...
Maybe i can offer a bit with the var issue. Unless you need all the intermediate results (FinalTime, FinalTime2, etc) outside the routine you can just have them as local variables. You might have to...
Owen,
Not a prop assembler programmer, but if i were thinking how i were to do it in spin, i would notice that on_time is 100, and
·mov time,cnt ' find the current time
·add time,on_time '...
Beanie2k,
No "Unwelcome Mat"s here. It's a very friendly and helpful forum. Just that sometimes if you don't indicate some kind of issue or question people may just let it ride. On the other hand,...
Wouldn't the cap give you enough time to do something to switch the battery? What about a relay that's held on by mains power and when that goes off it automatically (because there's no more power)...
Guys, thanks for your answers.
deSilva - What i got from that is that a resister is not a voltage limiter, but a current limiter and that too much of a good thing is not a good thing. Also, the...
I have a DS1307 clock i'm trying to hook up to . I've read the thread·about using a resistor to drop 5v to 3.3v (have a 1k on the 3 lines i care about, SCL, SDA, and SQW) and pulled high (+5v for SCL...
If you're using spin you could look at locknew, lockret, lockset, and lockclr on p234 (thereabouts) in the prop ref manual or 377-ish in the assembly portion of the manual. I haven't used them nor...
Ok, attached is a routine gobbled from my code. It isn't necessarily the prettiest, most-perfect piece of code, but it seems to work fine for me. It takes 3 arguments--pins to keep an eye on--and for...
I don't know how much processing you will actually be doing, but even if it's 1/4 second worth, i doubt that the loco will clear the sensor in that amount of time. Again, when you give the waitpne...
Yes, it will trigger on every change; the "block" condition and also the subsequent "unblock". You can have a bit of code that ignores the unblock if it is inconvenient for you. Four IFs to check if...
If you record what the current state of InA is, maybe with something like:
WatchPinsState := InA & WatchPinsMask
then vamp with something like:
waitpne(WatchPinsState, WatchPinsMask, 0)
...
Unless you know you will have plenty of cogs (and power, though for a train set you're probably not going to use batteries) to spare or your calculations will take a long time, there's no rule that...
Did you know that if you squint a bit, X86 is 68K backwards? A coincidence?
If you count X number of ticks at a clock freq of X then you should have 1 second. So you could try
waitcnt(clkfreq + cnt)
for a 1-second delay, not counting the setup time the interpreter...
Graham,
Thanks for the answer.
Bean
I like this thing and once it's nailed down, it would make a great small board and i want one too. I was going to suggest that it be just pads but graham's...