Commtech wireless Mercury 8-Line Manual do Utilizador Página 81

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 124
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 123 124

Comentários a estes Manuais

Sem comentários