View previous topic :: View next topic |
Author |
Message |
henzces
Joined: 04 Apr 2005 Posts: 2
|
18f4550>USB>Help for simple app |
Posted: Fri May 20, 2005 2:17 am |
|
|
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
|
I am also trying to use the 18F4550 |
Posted: Sun Oct 30, 2005 4:40 am |
|
|
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
|
|
Posted: Sun Oct 30, 2005 7:45 am |
|
|
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
|
|
Posted: Sun Oct 30, 2005 8:07 am |
|
|
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
|
|
Posted: Sun Oct 30, 2005 5:06 pm |
|
|
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.... |
|
|
Kubiak
Joined: 23 May 2004 Posts: 5
|
|
Posted: Sat Nov 05, 2005 6:09 am |
|
|
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
|
|
Posted: Sat Nov 05, 2005 12:50 pm |
|
|
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
|
Thank you very much for the answer Darren, |
Posted: Sun Nov 06, 2005 3:48 am |
|
|
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
|
|
Posted: Sun Nov 06, 2005 12:14 pm |
|
|
It doesn't come with CCS, it comes with their USB development kit. |
|
|
Kubiak
Joined: 23 May 2004 Posts: 5
|
the name of that software? |
Posted: Mon Nov 07, 2005 4:45 am |
|
|
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 |
|
|
|