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

18f4550>USB>Help for simple app

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



Joined: 04 Apr 2005
Posts: 2

View user's profile Send private message

18f4550>USB>Help for simple app
PostPosted: Fri May 20, 2005 2:17 am     Reply with quote

I need help for a little app that can be detected by a computer (windows).

Somone can help me please ?

That's urgent :-(

Thx
Kubiak



Joined: 23 May 2004
Posts: 5

View user's profile Send private message

I am also trying to use the 18F4550
PostPosted: Sun Oct 30, 2005 4:40 am     Reply with quote

I am also trying to use the 18F4550 for a simple application....
however I am having a lot of difficulty!!!

If anybody could help? with example in CCS

With compiler C18 good examples exist, however I use CCS...

Thank you...
Ttelmah
Guest







PostPosted: Sun Oct 30, 2005 7:45 am     Reply with quote

There have been a few posts here in the last few days, that are really irritating. Some of these always happen, but the 'rate', and 'level', have become silly. Now your question, is along the line of "I'm having trouble driving my Toyota. Please help". Then it is followed with "There are lot's of examples for a GM". Without knowing _what_ you are trying to do, and _where_ you are having problems, we cannot asnswer.
People here (despite trying hard), are not able to read mind's across the internet. If you think for a moment about the 'driving' example, if somebody posted that they were having trouble changing gear, then somebody might be able to post asking if they were declutching, and pushing the gear lever in the right direction. There are several dozen examples, supplied with the compiler, that show how to interface with varous chips, how to use the serial port, how to do basic jobs like scan a keyboard, and print a message. These are capable of forming the basis of almost any 'simple application', and indeed of many far more complex tasks. Also the 'examples' for other compilers, can be moved to CCS pretty simply. So.ask a question that is specific, rather than a general (and unanswerable) question. In general, you always need to say what you want to do a 'simple application', is about as specific as "I want to write a book"...

Best Wishes
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Sun Oct 30, 2005 8:07 am     Reply with quote

Henzces,
You say C18 has examples, whats wrong with the SIX examples that come with CCS C in the EXAMPLES directory? They look pretty good to me.

Several are even written specifically for the 18F4550...
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Sun Oct 30, 2005 5:06 pm     Reply with quote

Quote:
You say C18 has examples, whats wrong with the SIX examples that come with CCS C in the EXAMPLES directory?
I count NINETY SIX examples.... Cool
Kubiak



Joined: 23 May 2004
Posts: 5

View user's profile Send private message

PostPosted: Sat Nov 05, 2005 6:09 am     Reply with quote

Please if somebody was able to me to help...
I am using the example of CCS with HID " ex_usb_hid.c ", with a PIC18f4550.
with PIC there is not problem I already got to transfer the program inside of the 18F4550 and the same worked without problems.
When I connect PIC to the computer PC the same it detects without problems a device HID
However I would like to ask help of a software to VISUALIZE the values sent by PIC for the
PC, that values are a BIT (read of a switch) and an analogical word read by AIO.
Does some program exist to visualize that through a HID device USB?

Thank you
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

PostPosted: Sat Nov 05, 2005 12:50 pm     Reply with quote

Kubiak wrote:
Please if somebody was able to me to help...
I am using the example of CCS with HID " ex_usb_hid.c ", with a PIC18f4550.
with PIC there is not problem I already got to transfer the program inside of the 18F4550 and the same worked without problems.
When I connect PIC to the computer PC the same it detects without problems a device HID
However I would like to ask help of a software to VISUALIZE the values sent by PIC for the
PC, that values are a BIT (read of a switch) and an analogical word read by AIO.
Does some program exist to visualize that through a HID device USB?

Thank you


Yes, there is a PC program that CCS wrote that can read those values from ex_usb_hid.c and display them pretty. The PC program also sends data to the PIC to turn on/off two LEDs.

Due to size it is not included in the downloads, but it should be on your installation CD. If it is not then it's probably a mistake that it's not included.

Either way, e-mail CCS and they will send you this PC program and the source for this PC program.

I hope this answers your question, it was difficult to understand what you're asking for.
Kubiak



Joined: 23 May 2004
Posts: 5

View user's profile Send private message

Thank you very much for the answer Darren,
PostPosted: Sun Nov 06, 2005 3:48 am     Reply with quote

Thank you very much for the answer Darren,

But could you tell me which the name of that program for PC?
For me to find in the CD of installation of CCS?

Thank you...
newguy



Joined: 24 Jun 2004
Posts: 1909

View user's profile Send private message

PostPosted: Sun Nov 06, 2005 12:14 pm     Reply with quote

It doesn't come with CCS, it comes with their USB development kit.
Kubiak



Joined: 23 May 2004
Posts: 5

View user's profile Send private message

the name of that software?
PostPosted: Mon Nov 07, 2005 4:45 am     Reply with quote

Somebody could tell me if a software already exists for USB
ready to read the data of PIC?
Which the name of that software?

Thank you
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