Commtech wireless Mercury 8-Line Manuel d'utilisateur Page 81

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 124
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 80
ECE 477 Final Report Spring 2004
input = getchar();
checksum = checksum ^ input;
putchar1(input);
}
putchar1(checksum);
}
/* If rx_counter1 == 1 and rx_buffer_overflow1 == 0 then full packet
received from remote unit. Check checksum and if matches transmit to
PC. */
if (rx_counter1 == 1) { //&& rx_buffer_overflow1 == 0) {
//Use getchar1 2 times and compare bytes
//If those bytes match, send one of them to the PC
input = getchar1();
if (input == getchar1()) {
putchar(input);
}
}
};
}
F-7
Vue de la page 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 123 124

Commentaires sur ces manuels

Pas de commentaire