Hi Ross,

There's many many many way to accomplish this task. By using a simple IF Then, While loop, or waiting for an Interrupt. These interrupt can be selected on different port with often rising or falling edges. Tell us wich PIC you want to use and we will be able to tell you what are your Interrupt option.