Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.
 

Nigel Goodwin

Super Moderator
Most Helpful Member
aidantmurphy said:
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.

Latest threads

EE World Online Articles

Loading
Top