Hello hoyles,
let me give you some pointers on that
For the PIC12F629/675 you have no portb, it's called GPio
So:
where you have :
you need to have something like:Code:TRISB = %00000000 pb0 var PORTA.0
trisio=%000001
pb0 var gpio.0
and for:
you need to have something like:Code:If pb0 = 1 and b0 = 0 Then one
if ( pb0=1 ) and ( b0=0 ) then one
Get the ideia?
Bookmarks