D-Link DSL-G684T Manual de usuario Pagina 65

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 118
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 64
65
#define XON1 0x04 << 3 // Xon1 word[5]
#define XON2 0x05 << 3 // Xon2 word
#define XOFF1 0x06 << 3 // Xoff1 word
#define XOFF2 0x07 << 3 // Xoff2 word
// SPI pin definitions
#define CS 10 //Slave Select pin - allocated on each
device which the master can use to enable and disable
specific devices and avoid false transmissions due to line
noise.
#define MOSI 11 //Master Out Slave In (MOSI) - The
Master line for sending data to the peripherals
#define MISO 12 //Master In Slave Out (MISO) - The
Slave line for sending data to the master,
#define SCK 13 //Serial Clock (SCK) - The clock pulses
which synchronize data transmission generated by the master,
and
#define ASSOCIATE_TIMEOUT 5000
// Global variables
char incoming_data;
char TX_Fifo_Address = THR;
char get = 0;
char post = 0;
String inc_data_all;
// Photocell
int photoPin = 0;
int val = 0;
char val2[5] ;
// Servomotor
Servo myservo;
Vista de pagina 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 117 118

Comentarios a estos manuales

Sin comentarios