dbachman
- 23rd December 2010, 05:01
It may be simple but I'm not geting it.:confused:
mackrackit
- 23rd December 2010, 08:44
http://melabs.com/resources/samples/pbp/eeword.htm
The LOW and HIGH byte need to be stored separately.
Acetronics2
- 23rd December 2010, 13:47
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 ... :o
THIS
'************************************************* ***************
'* 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 *
'************************************************* ***************
here : http://www.picbasic.co.uk/forum/showthread.php?t=2444&pagenumber=
Also could be to consider ...
Alain
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.