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

Can I receive string through USB_CDC device

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



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

Can I receive string through USB_CDC device
PostPosted: Tue Jan 15, 2013 11:38 am     Reply with quote

Hello guys!
I'm working on USB_CDC project and I need to understand more about those types of devices. Here are the questions:
I already know how to send a character (usb_cdc_putc(c)), but I'm wondering, is there function or driver that allows to send or receive a string, something like printf("string"); for example?
_________________
A person who never made a mistake never tried anything new.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jan 15, 2013 11:56 am     Reply with quote

You ask questions that can easily be answered by looking at the
documentation. Look in this file. Read the documentation in it:
Quote:
c:\program files\picc\drivers\usb_cdc.h
rikotech8



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

PostPosted: Wed Jan 16, 2013 12:34 pm     Reply with quote

I saw everything I need! Thank you!
_________________
A person who never made a mistake never tried anything new.
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