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

usb example project

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



Joined: 04 May 2009
Posts: 35
Location: India

View user's profile Send private message

usb example project
PostPosted: Thu Jun 25, 2009 2:25 pm     Reply with quote

Hi, I got a "PIC18f2550" IC can anybody get me some usb example projects so that I am able to interface my PC with the PIC.

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 25, 2009 2:37 pm     Reply with quote

Do you own the CCS compiler ? Look in the Examples directory.
It has all these USB examples:
Quote:

c:\program files\picc\examples\ex_usb_hid.c
c:\program files\picc\examples\ex_usb_scope.c
c:\program files\picc\examples\ex_usb_mouse.c
c:\program files\picc\examples\ex_usb_kbmouse2.c
c:\program files\picc\examples\ex_usb_kbmouse.c
c:\program files\picc\examples\ex_usb_serial2.c
c:\program files\picc\examples\ex_usb_serial.c
c:\program files\picc\examples\ex_usb_bootloader.c
c:\program files\picc\examples\ex_usb_loadmouse.c
bharatwalia



Joined: 04 May 2009
Posts: 35
Location: India

View user's profile Send private message

PostPosted: Thu Jun 25, 2009 2:50 pm     Reply with quote

yes , i own a ccs compiler.But i need some PC side examples like in VC++ or in VB
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 25, 2009 3:09 pm     Reply with quote

Look in the Code Library forum.
This is a 2-page thread which uses Microsoft .net tools to create the
PC-side USB Windows application:
http://www.ccsinfo.com/forum/viewtopic.php?t=24207

If you have current compiler maintenance with CCS, then you can
download the USB development kit files. There's a button for it in
the lower right corner of this page:
http://www.ccsinfo.com/compilerupdates.php
It has sample Windows applications written in Delphi. These are an
"Oscope" application and an "HidDemo" application.
xuxa



Joined: 07 Jul 2009
Posts: 4

View user's profile Send private message

sample code
PostPosted: Tue Jul 07, 2009 8:30 pm     Reply with quote

I tried to use the
Quote:
c:\program files\picc\examples\ex_usb_hid.c

in CCS compiler.
What changes do I have to do in the code, or wich header codes and sources codes do I have to add to compile the project?
I would like to use this to make a keybord interface to a LCD display, so any character pressed in keyboard is shown on LCD.

Im from Brazil, my english is not good, thanks
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