Quote Originally Posted by Pedro Pinto View Post
Hello Joe S.

English is not my natural language, sorry i not understand very well what
you mean in your answer. Is anything wrong in this code?
Pedro
Hi Pedro,
I have not time to check data sheets, it's WorkTime , but check what I did below, the comment in blue is because I have not checked the data sheet.
Code:
DEFINE OSCCAL_2K 1<font color=blue> 'is this correct? </font color>
'
sepic_ok var GPIO.3        
call_shutdown var GPIO.4
sepic_on_off var GPIO.5
pulsador var GPIO.2
am_on_off var GPIO.1
'sense var GPIO.0
'
GPIO = %00000000 '<font color=red>change to suit Your needs</font color>
TRISIO = %11001111
'
low sepic_on_off        
low call_shutdown       
'						
ciclo var word
conta var byte 
conta2 var byte
flag_pulsador var byte