Raymarine autopilot ST4000+ Manual de usuario Pagina 10

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 19
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 9
#include <RCSwitch.h>
int ledPin = 13; // LED connected to digital pin 13
int NO = 0;
int YES = 1;
int HIGHH = 1;
int LOWL = 0;
RCSwitch mySwitch = RCSwitch();
void setup()
{
Serial.begin(9600);
mySwitch.enableReceive(0); // Receiver on inerrupt 0 => that is pin #
int cX;
for ( cX = 0; cX < 10; cX++ ) // power-on flash LED 10 times
{
digitalWrite(ledPin, HIGHH); // turn the LED on (HIGH is the voltage level)
delay(50);
digitalWrite(ledPin, LOWL); // turn the LED off (LOW is the voltage level)
delay(50);
}
}
void loop ()
{
int cX;
Vista de pagina 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 18 19

Comentarios a estos manuales

Sin comentarios