Commtech wireless Mercury 8-Line Instrukcja Użytkownika Strona 81

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 124
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 123 124

Komentarze do niniejszej Instrukcji

Brak uwag