BULK.gets

Name
BULK.gets

Description
It reads the stream sent on the USB line by a PC. In fact this function calls BULK.gets.

Syntax

 * buffer: the variable stores the character chain received from USB.
 * Type: char array


 * Output: Function returns the number of total received bytes.
 * Type: unsigned byte

Comments
See also interesting USB interfacing examples at section Category:09._Interfacing.