Raymarine autopilot ST4000+ Instrukcja Użytkownika Strona 10

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 19
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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;
Przeglądanie stron 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 18 19

Komentarze do niniejszej Instrukcji

Brak uwag