putpacket (unsigned char *buffer)
putpacket (char *buffer)
putpacket (unsigned char *buffer){  unsigned char checksum;  int count;  char ch;  /*  $<packet info>#<checksum>. */  do	{	  putDebugChar ('$');	  checksum = 0;	  count = 0;	  while ((ch = buffer[count]) != 0)		{		  putDebugChar (ch);		  checksum += ch;		  count += 1;		}	  putDebugChar ('#');	  putDebugChar (hexchars[checksum >> 4]);	  putDebugChar (hexchars[checksum % 16]);	}  while (getDebugChar () != '+');}