|
|
View previous topic :: View next topic |
Author |
Message |
Ken Johnson
Joined: 23 Mar 2006 Posts: 197 Location: Lewisburg, WV
|
|
Posted: Thu Sep 27, 2007 6:52 am |
|
|
Another plug for a demo board - I recently went through this myself, using the demo from Microchip (all of $60, I think). It has an rs232 port on it, which you can connect to a pc (e.g. hyperterm) and be assured that the pic is running. It outputs a message when it starts up, when the usb cable is connected (looks at the power supply pins) - very helpful.
Note: in the usb example code, you'll need to "un-comment" a line, I think line 76, #define USB_CON_SENSE_PIN PIN_B2, but don't remember for sure.
good luck,
Ken |
|
|
wwc
Joined: 27 Sep 2007 Posts: 2
|
|
Posted: Fri Sep 28, 2007 7:39 am |
|
|
ELCouz wrote: | Should come with you CCS Compiler if not...
get it right there -->18f4550.h |
Thank you so much!! |
|
|
ELCouz
Joined: 18 Jul 2007 Posts: 427 Location: Montreal,Quebec
|
|
Posted: Fri Sep 28, 2007 8:05 am |
|
|
no problem and please don't copy/paste the same post its useless and annoying...
----> Right Here <---- |
|
|
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|