>From: Henry Low <
@spam@eng70245KILLspam
NUS.EDU.SG>
>Reply-To: pic microcontroller discussion list <
KILLspamPICLISTKILLspam
MITVMA.MIT.EDU>
>To:
RemoveMEPICLISTTakeThisOuT
MITVMA.MIT.EDU
>Subject: Re: [PIC]: PIC16f877
>Date: Fri, 6 Apr 2001 03:34:39 +0800
>
>i am using stepper motor, so i just need to input a clk pulse, a direction
>input, an enable input....
>i have 10 IR sensors....but should be using 2 for table edge detection
>purposes, leaving 8 for object detection of the front, side and
>rear....also
>have a couple of contact sensors around the robot...
>all done....now...i am at a lost of how to start programming the
>robot....have a PIC16f877 and a programmer board too....and also a "C"
>compiler that comes with it...
>I know somehow what to do but not exactly know how to do it....i know i
>need
>to output the 3 control pins states for my stepper motor according to my
>sensor input, should be based either on a polling method or an interrupt
>method.....for table edge detection and contact, I should be using
>interrupt, which is faster in response and since the task is of higher
>priority.....polling can be done probably for the sensing of obects near
>the
>robot....
>anyone can help recommend a good "C" compiler or assembler and has a simple
>example code for me to learn as I program???
>
>Henry