[SOLVED] How to compare value with value in eeprom

Status
Not open for further replies.

polona1010

Member level 1
Joined
Apr 17, 2013
Messages
40
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,524
Hello everyone,

How to compare hex value with hex value written in internal eeprom memory?

Compare value on address single address 0x10 with code \"A1\".


Mikroc is compiler and 18f45k22 is controller.
 

whatever the value you written, whether hex, decimal, char, etc, in to eeprom, you can compare with your value using standard functions (read the eeprom data and store it in to local variable and compare as usual).
 




SpeedEC is right you can check your other posts.

By the way, I will publish some examples for this in blog. I will make one today related to this question. Maybe this is better, because I have impression that you cycling with questions.

Try to experiment with some example...

Regards,
Peter

- - - Updated - - -

Here is link: https://www.edaboard.com/blog/1861/
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…