if anybody know what it means that?
What is I/O PIN ON PIC?
/////////////////////////////////////////////////////////////////////////////
//
// If you are using a USB connection sense pin, define it here. If you are
// not using connection sense, comment out this line. Without connection
// sense you will not know if the device gets disconnected.
// (connection sense should look like this:
// 100k
// VBUS-----+----/\/\/\/\/\----- (I/O PIN ON PIC)
// |
// +----/\/\/\/\/\-----GND
// 100k
// (where VBUS is pin1 of the USB connector)
//
/////////////////////////////////////////////////////////////////////////////
10x
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Jun 12, 2007 7:02 pm
Quote:
What is I/O PIN ON PIC?
The text you quoted is contained in the following CCS example files:
Look at one of those files. Look at the lines of code just below
the section of comments that are shown in your post. You will
see these lines. See the pin number in bold below:
Quote:
///only the 18F4550 development kit has this pin
#if __USB_PIC_PERIF__ && defined(__PCH__)
#define USB_CON_SENSE_PIN PIN_B2
#endif
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum