Having now got my USB PICs for development (all of the 18F USB Series), are there any examples of how to switch the outputs of the PIC HIGH or LOW as driven by the PC.

I'm looking at an application where by the front end is developed using VB, but then the control is by the PIC. So VB sends a command to the PIC to make a desired PORT HIGH or LOW.

It seems fairly simple in its concept, but i can't find any examples of this on the WEB / Forums.

Any help / pointers would be appriciated.

Thanks.

Steve.