D-Link DSL-G684T Manual de usuario Pagina 35

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 118
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 34
35
At the end of the setup section we check if the SPI-to-UART bridge is initialized
successfully (SPI_Uart_Init()) and afterwards if wireless connection with the predefined
configuration is set up properly(autoconnect()).
3. void loop()
Void loop() is the section of the software that, as its name suggests, repeats over
and over again. This is the main part from which all external functions and procedures are
being called. For safety issues, just in case, 

the data from receiving register. After that we simply wait for a client to appear.
SPI_Uart_println("exit");
delay(500);
Flush_RX();
while(!Have_Client());
if(SPI_Uart_Init()) //Test SC16IS750 communication
{
Serial.println("Bridge initialized successfully!");
}
else{
Serial.println("Could not initialize bridge,
locking up.\n\r");
while(1);
}
autoconnect();
Vista de pagina 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 117 118

Comentarios a estos manuales

Sin comentarios