View previous topic :: View next topic |
Author |
Message |
madcyantist314
Joined: 08 Dec 2007 Posts: 2
|
ex_usb_mouse.c sample circuit |
Posted: Sat Dec 08, 2007 2:49 pm |
|
|
I am entirely new to this topic and am trying to get this code to run. I have been able to compile it and get the code onto the chip but I cannot find a sample circuit to go with the code. Is there anyone that could provide me with a circuit that will run this example?
Thank you.
PS: I'm using the PIC18F4550 |
|
|
meereck
Joined: 09 Nov 2006 Posts: 173
|
|
|
madcyantist314
Joined: 08 Dec 2007 Posts: 2
|
|
Posted: Sun Dec 09, 2007 4:15 pm |
|
|
But will that work for the sample code ex_usb_mouse.c? I don't belive it will. |
|
|
meereck
Joined: 09 Nov 2006 Posts: 173
|
|
Posted: Mon Dec 10, 2007 6:46 am |
|
|
sure it will,
ex_usb_mouse.c doesn't use any leds nor switches. It just connects to a PC via the USB and draws a circle with the mouse cursor.
good luck |
|
|
Futterama
Joined: 17 Oct 2005 Posts: 98
|
|
Posted: Wed Jan 09, 2008 5:03 am |
|
|
meereck wrote: | sure it will,
ex_usb_mouse.c doesn't use any leds nor switches. It just connects to a PC via the USB and draws a circle with the mouse cursor.
good luck |
Are you sure the example will run with a 20MHz crystal? |
|
|
linera
Joined: 23 Nov 2011 Posts: 6
|
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9244 Location: Greensville,Ontario
|
|
Posted: Tue Apr 02, 2013 5:34 am |
|
|
to : linera
your link goes to a Proteus question !!
Please read PIC101 !!
As for the 'driver' you ask about....everything needed for the CCS C compiler usb_mouse program is supplied by CCS in their examples folder
However it sounds like you need a Proteus driver , so contact ISIS, or Proteus for their simulation of a driver.
CCS code works for real hardware in the real world.
Please do NOT ask for Proteus help here, no one has the time to rewrite faulty simulator code, life is way to short.
hth
jay |
|
|
|