You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LoRaGateway_BTS2A/numero_passerelle/numero_passerelle.ino

24 lines
429 B
C++

// Flavien HAAS, 2018
// before transfert, check these things:
// have all the librairies needed installed on your machine
void setup() {
Serial.begin(9600);
}
void loop() {
uint16_t ids = 0x00AB;
uint16_t idp = 0xFF00;
Serial.print(" Id station : ");
Serial.println(ids, HEX);
Serial.print(" Id passerelle : ");
Serial.println(idp, HEX);
Serial.println((uint16_t)(ids | idp), HEX);
Serial.println("");
delay(1000);
}