Electronics > Beginners
Assembly code Help! PIC16F57
<< < (21/32) > >>
Electrofinn:
ok so its just that thing where it didn't play the pattern2 after running out of credits, but again just waiting for 30 seconds or so it begins to play, but mostly it does it after two seconds.   
KL27x:
Well, I could throw more darts, but I'd probably just be wasting our time.   :(

Timeout, featuredel, and anywhere credit_count Z check is done are places to start breaking the code and seeing what gives. Mode_byte,7 might be involved. It looks like a lock bit to prevent subroutines from resetting certain registers when others are using them. But to begin putting any of that together would take active measures, breaking the code and seeing what happens.

So it's your call if this is good enough or if you want to get your hands dirty.
 

Electrofinn:
well that bit seems good enough to me, however I just had an instance where it didn't do the full pattern2 on a win but something else has cropped up that I need to do further testing on because all this time I have been using a new servo but have noticed that on every servo actuation that the displays and leds very slighty light up and it doesn't do this with my other servo and I have a hunch that maybe the servo maybe interfering with the chips operation. I don't know if its a back emf issue or what but need to rule this out first I think.


also when you said it may behave differently, I have noticed that the win sequence seems quicker and the beeping seems a little higher in pitch lol I tried other programmed chip with v20 code on it and I swear its slower or am I going nuts. 
   
Electrofinn:
no just confirmed! the servo isn't the cause its just done it again. I am beginning to think we wasting time on this, we could be at this forever and I bet your getting sick off this lol   
Electrofinn:
I noticed certain things, even in the original source code, run faster than the original chip, like the servo actuations, the win sequence, the flashing of the hold leds ect. My question to is, Is it possible that problems could occur if the program is running to quickly? I'm just thinking clock cycles and timing. And if so how would we go about slowing it down?
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod