Hi,
I am Using PIC16F877a Dev Kit with Flowcode7 to read/write a value for four different addresses but its not working fine, but i tested it for single address it works fine, kindly help with this issue.
Read/Write Multiple internal EEprom Address
Moderator: Benj
-
- Posts: 11
- Joined: Tue Oct 17, 2017 4:09 pm
- Contact:
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: Read/Write Multiple internal EEprom Address
Hi
It is hard to help you with out seeing your Flowchart .
Please upload your flowchart and people will give you some advise or help
It is hard to help you with out seeing your Flowchart .
Please upload your flowchart and people will give you some advise or help
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
-
- Posts: 11
- Joined: Tue Oct 17, 2017 4:09 pm
- Contact:
Re: Read/Write Multiple internal EEprom Address
QMESAR wrote:Hi
It is hard to help you with out seeing your Flowchart .
Please upload your flowchart and people will give you some advise or help
- Attachments
-
- UART-1.fcfx
- (40.56 KiB) Downloaded 179 times
-
- Posts: 11
- Joined: Tue Oct 17, 2017 4:09 pm
- Contact:
Re: Read/Write Multiple internal EEprom Address
cubetronix wrote:Hi,
I am Using PIC16F877a Dev Kit with Flowcode7 to read/write a value for four different addresses but its not working fine, but i tested it for single address it works fine, kindly help with this issue.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Read/Write Multiple internal EEprom Address
Hi cubetronix,
The issue is you ave not assigned any of the values for addresses.
like for LED2 off for example.
As BTN2_EE as not been assigned, within hardware it will contain a random number.
Therefore a random EEPROM address will be written to.
You need to state an address and value to write to the specified address.
EG for address 2 with value of 6.
just use Address:2
Value:6
Or just use a variable (e.g called EEAddress) assigned with 2.
Then use
Address: EEAddress
Value:6
The issue is you ave not assigned any of the values for addresses.
like for LED2 off for example.
As BTN2_EE as not been assigned, within hardware it will contain a random number.
Therefore a random EEPROM address will be written to.
You need to state an address and value to write to the specified address.
EG for address 2 with value of 6.
just use Address:2
Value:6
Or just use a variable (e.g called EEAddress) assigned with 2.
Then use
Address: EEAddress
Value:6
Martin
-
- Posts: 11
- Joined: Tue Oct 17, 2017 4:09 pm
- Contact:
Re: Read/Write Multiple internal EEprom Address
Hi Medelec35,
thanks for your reply, i found the issue and reprogrammed it, it works fine kindly check whether my flow is correct.
thanks for your reply, i found the issue and reprogrammed it, it works fine kindly check whether my flow is correct.