CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ex_usb_mouse.c sample circuit

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
madcyantist314



Joined: 08 Dec 2007
Posts: 2

View user's profile Send private message

ex_usb_mouse.c sample circuit
PostPosted: Sat Dec 08, 2007 2:49 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Dec 09, 2007 3:53 pm     Reply with quote

A basic usb circuit looks like this:
http://pic18fusb.online.fr/wiki/wikka.php?wakka=WikiHome
madcyantist314



Joined: 08 Dec 2007
Posts: 2

View user's profile Send private message

PostPosted: Sun Dec 09, 2007 4:15 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Dec 10, 2007 6:46 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Jan 09, 2008 5:03 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Apr 02, 2013 4:56 am     Reply with quote

Meereck, please.

Could you tell me where can I obtain the driver for this mouse example?

You can see a more detailed explanation about this question in the following topic:
http://www.ccsinfo.com/forum/viewtopic.php?p=174014#174014

Thanks in advance
temtronic



Joined: 01 Jul 2010
Posts: 9241
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Apr 02, 2013 5:34 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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