D-Link DSL-G684T Uživatelský manuál Strana 77

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 118
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 76
77
Serial.println("'");
delay(100);
Flush_RX();
delay(100);
SPI_Uart_print("join ");
SPI_Uart_println(ssid);
for(int p = 0; p < 40; p++)
{
Serial.print(".");
delay(ASSOCIATE_TIMEOUT/30);
}
Serial.println("");
Flush_RX();
// Check for association
SPI_Uart_println("show c");
if(Wait_On_Response_Char(13) != '0')
{
Serial.print("Failed to associate with '");
Serial.print(ssid);
Serial.println("'\n\rRetrying...");
Flush_RX();
autoconnect();
}
else
{
Serial.println("Associated!");
Flush_RX();
}
}
void Flush_RX(void)
// Flush characters from SC16IS750
Zobrazit stránku 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 117 118

Komentáře k této Příručce

Žádné komentáře