Author |
Message |
Topic: USB_put_packet() function problem?or serial receive problem? |
cenadius
Replies: 8
Views: 14671
|
Forum: General CCS C Discussion Posted: Fri Apr 02, 2010 10:47 am Subject: USB_put_packet() function problem?or serial receive problem? |
thanks for FvM and Ttelmah for again for answer my question.
They always call usb_task() in the main loop, you call it only once.
you mean for each case i need to call usb_task() again?
... |
Topic: USB_put_packet() function problem?or serial receive problem? |
cenadius
Replies: 8
Views: 14671
|
Forum: General CCS C Discussion Posted: Fri Apr 02, 2010 3:24 am Subject: USB_put_packet() function problem?or serial receive problem? |
thanks for reply.
1.) what function or how can i buffer rs232? any reference for me on how to receive a data from rs232 and send it to rs232?
2.)i think my data won't larger than 33 bytes, at mo ... |
Topic: USB_put_packet() function problem?or serial receive problem? |
cenadius
Replies: 8
Views: 14671
|
Forum: General CCS C Discussion Posted: Fri Apr 02, 2010 2:46 am Subject: USB_put_packet() function problem?or serial receive problem? |
Thanks for replying.
1.) What should I do in order to keep the usb connection? I am having a problem, when I click "sendtext" button in my GUI, it will terminate the usb connection. I tho ... |
Topic: USB_put_packet() function problem?or serial receive problem? |
cenadius
Replies: 8
Views: 14671
|
Forum: General CCS C Discussion Posted: Thu Apr 01, 2010 9:28 pm Subject: USB_put_packet() function problem?or serial receive problem? |
I am currently doing a project which need receive a data from a serial port, RS232, and send it to computer through USB, the rs232 is communication between 2 PIC, which on the other side it is a tempe ... |
Topic: how to send and receive float for serial communication? |
cenadius
Replies: 7
Views: 19871
|
Forum: General CCS C Discussion Posted: Thu Apr 01, 2010 10:16 am Subject: how to send and receive float for serial communication? |
Thanks for reply.
If I want to send in binary, how to convert it to binary and and convert it back to float at receiver? |
Topic: how to send and receive float for serial communication? |
cenadius
Replies: 7
Views: 19871
|
Forum: General CCS C Discussion Posted: Thu Apr 01, 2010 9:44 am Subject: how to send and receive float for serial communication? |
The ccs function for rs232 send and receive data can only use getc() and putc()?
If i want to send a float value or string, getc() and putc() seem can't be use for this purpose, is there any other ... |
Topic: USB transmission must do it in "int8"? |
cenadius
Replies: 1
Views: 3815
|
Forum: General CCS C Discussion Posted: Sat Mar 27, 2010 10:40 pm Subject: USB transmission must do it in "int8"? |
Hi, I want to send a string and a float through usb to my computer GUI, and I find out that usb_put_packet() function must transmit data in int8.
Below is my code:
include <18F4550.h>
#fu ... |
Topic: how to stop USB data transmission infinitely? |
cenadius
Replies: 2
Views: 4464
|
Forum: General CCS C Discussion Posted: Sat Mar 27, 2010 10:20 pm Subject: how to stop USB data transmission infinitely? |
Thanks, the problem was solved by clearing the usb buffer. |
Topic: how to stop USB data transmission infinitely? |
cenadius
Replies: 2
Views: 4464
|
Forum: General CCS C Discussion Posted: Sun Mar 14, 2010 6:21 pm Subject: how to stop USB data transmission infinitely? |
Hi, I am doing a project in which I need to transmit data from from computer through usb to RS232, and I test my project with Hyperterminal and a USB GUI.
When I transmit some word from USB GUI for ... |
Topic: Problem with LCD |
cenadius
Replies: 2
Views: 6456
|
Forum: General CCS C Discussion Posted: Sat Mar 13, 2010 10:46 pm Subject: Problem with LCD |
#fuses HSPLL, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
so i change the XT fuse to HS, ok i get it.
thank you very much. |
Topic: Problem with LCD |
cenadius
Replies: 2
Views: 6456
|
Forum: General CCS C Discussion Posted: Sat Mar 13, 2010 9:25 pm Subject: Problem with LCD |
Hi, I am using pic18f452 with 20MHz crystal. I am using PortB for my LCD, but my LCD display still didn't display anything although it compiles with no errors.
// flex_lcd.c
// These pins are ... |
|