Eeprom compiling generates errors

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Jorg_Guldner
Posts: 33
http://meble-kuchenne.info.pl
Joined: Wed Dec 23, 2020 9:55 am
Been thanked: 4 times

Eeprom compiling generates errors

Post by Jorg_Guldner »

Hello!
Can you compile the attached file and look why it`s generating errors?

Regards
Jorg
Attachments
Test.fcfx
(8.66 KiB) Downloaded 11 times

medelec35
Matrix Staff
Posts: 1466
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 515 times
Been thanked: 474 times

Re: Eeprom compiling generates errors

Post by medelec35 »

Hello Jorg.
If you remove all the data from Initial Values within EEPROM properties, you should be able to compile.
Martin

Jorg_Guldner
Posts: 33
Joined: Wed Dec 23, 2020 9:55 am
Been thanked: 4 times

Re: Eeprom compiling generates errors

Post by Jorg_Guldner »

Hello Martin,
if you take the same program, modify to PIC16F1829, address in uint und return value in byte, it compiles without error? The initial examples values of the component are not cleared. Where is the difference?

Wiki says "Comma seperated list of values to assign to the EEPROM memory while programming" All values shown in the initial are possible. At first, how many values must be written in the initial? Only some or the full memory? Normally without changing something the compiling must run through without errors, like the PIC16F1829. If I put own values inside, the error occurs, too.


regards
Jorg

Post Reply