
; Set SlaveADR PCF8583
	movlw 0        ; can be 0 or 1
	banksel iislaveadr
	movwf iislaveadr

; Set Clock Mode
	movlw 0        ; Address 0 - control
	banksel iiadr
	movwf iiadr

	movlw B'00000000' ; Control byte, see Datasheet
	banksel iidataPCF
	movwf iidataPCF

	call PCF8583WriteByte

; Get current time
	call PCF8583ReadClock

; Set SlaveADR LM75
	;movlw 0        ; can be 0 or 1
	;banksel iislaveadr
	;movwf iislaveadr

; Set Temp Mode
	movlw B'00000001'        ; Address 15 - control
	banksel iiadr
	movwf iiadr

	movlw B'00101000' ; Control byte, see Datasheet
	banksel iidataLM
	movwf iidataLM

	call LM75WriteByte



