Proton BASIC Community

Proton (Positron) => Beginners => Topic started by: bimin on May 14, 2022, 02:46 AM

Title: How to write eeprom (ASCII to HEXA)
Post by: bimin on May 14, 2022, 02:46 AM
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)
Title: Re: How to write eeprom (ASCII to HEXA)
Post by: joesaliba on May 14, 2022, 06:22 AM
Look for Ewrite and Eread in the manual to get you started.

Joe
Title: Re: How to write eeprom (ASCII to HEXA)
Post by: Yasin on May 14, 2022, 07:20 AM
The above suggestions are used while running the program in the mcu. If you want to generate data for eprom during compilation. See "Edata".
Title: Re: How to write eeprom (ASCII to HEXA)
Post by: bimin on May 14, 2022, 08:05 PM
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)
Title: Re: How to write eeprom (ASCII to HEXA)
Post by: bimin on May 14, 2022, 08:06 PM
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)