PIC 16F877 - storage capability

Status
Not open for further replies.

aidantmurphy

New Member
Hi

Just wondering how do you store on the PIC 16F877? I have on Excel look up table and I want to store it on the PIC. Then I want the user to enter a value on a GUI which will be found on Excel and used as the delay value in my project.

Any ideas?? or does any have any nice GUI's I could look at.
 

I'm not very sure what you are asking?, if it's how to implement a lookup table on a PIC it's a common technique involving adding an index value to PCL, and a table of RETLW - there's an application note at MicroChip. You can use the same technique for a jump table, replacing RETLW with GOTO.

The main problem with this is you can't cross a 256 byte boundary, unless you take precautions - if you search this site there are details posted previously.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…