![]() |
Re: Autonomous Library!
I'm also working on a copycat type program as well for my team... we used one similar to copycat except i used an external timer to make it work. Also I wasn't aware of copycats existance before I wrote it either... yay me.
Anyways... I won't have the chance to touch our Edubot until Sunday, and I have been working on some routines, and in ifi_picdefs.h the following says: Code:
extern volatile near unsigned char PIE2;So by this I'm assuming that: We cant clear the bit that means the write operation is complete either? (EEIF) We cant use interrupts to tell when its finished doing the write? (EEIE) Or am I reading this wrong and theres something I'm missing... because as noted in the PIC documentation, a EEPROM write operation can take up to 4ms to complete. This would mean that we can only write a byte and then randomly guess when the operation is complete? Anyone have any ideas about this? |
Re: Autonomous Library!
I don't profess to be good at wrighting code, But I had a thought, could you
save the info from driving to ram in the "record" mode and then use the EEprom write code to store that info EEprom. Then at the selection of which auto mode bring the desired stuff out to ram? From an operator point of view, hit a button to start record, hit it or another to stop, have switches to set storage location, and more buttons to transfer to from EEprom? |
Re: Autonomous Library!
Quote:
|
| All times are GMT -5. The time now is 19:51. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi