News:

Let's find out together what makes a PIC Tick!

Main Menu

How to write eeprom (ASCII to HEXA)

Started by bimin, May 14, 2022, 02:46 AM

Previous topic - Next topic

bimin

Members,
I am newbie here.I wish to write eeprom into my program, as an example write and stored eeprom in pic basic I do like this 'eeprom 0, $232,$3,$0,$20,$20,$20, $48, $65, $72, $65, $20, $49, $73, $20, $41, $20, $53, $61, $6D, $70, $6C, $65, $20,$20,$20 (this ASCII to Hexa)So how can I write eeprom in Proton Basic Compiler.

Bie 8)  8)

joesaliba

Look for Ewrite and Eread in the manual to get you started.

Joe

Yasin

The above suggestions are used while running the program in the mcu. If you want to generate data for eprom during compilation. See "Edata".

bimin

Quote from: Yasin on May 14, 2022, 07:20 AMThe above suggestions are used while running the program in the mcu. If you want to generate data for eprom during compilation. See "Edata".
Thanks mate, I refer your suggestion to read Edata and it work perfecly.

Bie  8)  8)

bimin

Quote from: joesaliba on May 14, 2022, 06:22 AMLook for Ewrite and Eread in the manual to get you started.

Joe
Many thanks Joe.

Bie  8)  8)