view src/eeprom_rs232.inc @ 457:b4417044a042

recover old battery status prior 2.09
author heinrichsweikamp
date Wed, 28 Sep 2016 11:16:31 +0200
parents 5a4801918be9
children b455b31ce022
line wrap: on
line source

;=============================================================================
;
;   File eeprom_rs232.inc
;
;
;   Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
;=============================================================================
; HISTORY
;  2011-08-03 : [mH] moving from OSTC code

write_int_eeprom	macro	eeprom_address
	movlw	eeprom_address
	call	write_int_eeprom_1
	endm

read_int_eeprom	macro	eeprom_address
	movlw	eeprom_address
	call	read_int_eeprom_1
	endm

	extern	write_int_eeprom_1
	extern	read_int_eeprom_1
	extern	read_eeprom
	extern	write_eeprom
	extern	enable_rs232
	extern	disable_rs232
	extern	rs232_get_byte
	extern	rs232_wait_tx
    extern	rs232_wait_tx2
    extern  enable_ir_s8
    extern  disable_ir_s8