Home Forums C Programming easy one Reply To: easy one

#3245
S.Thananchayan
Participant

//I finally got it werking…
 

DWORD i;
for (i=0; i<read; i++)
if("%i ", (unsigned char)buf){
printf ("%i ", (unsigned char)buf);
std::cout << "- This value was sent to the serial n "
       << "     port and returned thru loopback." << std::endl ;
}
else;
if(!read )
std::cout << "No loopback installed.";