Hi,
PBP 2.60 also adds a new feature:
you can directly Write and Read Words and Longs ... ( see 2.60 Manual )
But it's you to keep track of the position in the EEPROM ... to give the good address for the LowerByte of your number ...
THIS
here : http://www.picbasic.co.uk/forum/show...444&pagenumber=Code:'**************************************************************** '* Name : EE_Vars.PBP * '* Author : Darrel Taylor * '* Date : 8/22/2005 * '* Version : 1.0 * '* Notes : Requires MPASM, NOT PM * '* : This is an INCLUDE File for PicBasic Pro * '* : Please keep it as an INCLUDE File * '**************************************************************** '* Linked * '* EE_var Variable, [BYTE/WORD], Value * '* EE_read_var Variable * '* EE_write_var Variable * '* EE_write_default Variable * '**************************************************************** '* UN-Linked * '* EE_byte Name, Value * '* EE_word Name, Value * '* EE_read Name, Variable * '* EE_write Name, Variable * '****************************************************************
Also could be to consider ...
Alain





Bookmarks