crzy engineer
New Member
hey guys im a newbie here,
completly new to pics and i learned this code this week
well im in this assignment to write a code for the pic 12F509
this instruction here is gonna be the very first set of instructions the pic is gonna perform
does it usually just start like this or am i missing something???
i have a feeling "org0" should be at the very first line???
Any suggestions or mod?
THANKS
completly new to pics and i learned this code this week
well im in this assignment to write a code for the pic 12F509
this instruction here is gonna be the very first set of instructions the pic is gonna perform
does it usually just start like this or am i missing something???
i have a feeling "org0" should be at the very first line???
Code:
LOOP:
IF GP3 = 1 THEN 'Switch pin
HIGH GP3 'Motor pin
PAUSE 6000
LOW GP3
ELSE
LOW GP3
ENDIF
GOTO LOOP
Any suggestions or mod?
THANKS