This library provides a unique 64-bit ID over various Arduino platforms.
Such a feature is useful for the Cyphal protocol and it's Arduino port 107-Arduino-Cyphal but naturally can also be used in another context.
This library works for
- ArduinoCore-samd:
Arduino Zero,MKR 1000,MKR WiFi 1010,Nano 33 IoT,MKR GSM 1400,MKR NB 1500,MKR WAN 1300/1310✔️ - ArduinoCore-mbed:
Portenta H7,Nano 33 BLE,Nano RP2040 Connect,Edge Control✔️ - arduino-esp32:
ESP32 Dev Module,ESP32 Wrover Module, ... ✔️ - arduino-pico:
Raspberry Pi Pico,Adafruit Feather RP2040, ... ✔️ - adafruit/ArduinoCore-samd:
Adafruit Feather M4 CAN Express, ... ✔️ - ArduinoCore-renesas:
Portenta C33,Uno R4 WiFi,Uno R4 Minima, ... ✔️
#include <107-Arduino-UniqueId.h>
void setup() {
Serial.begin(115200);
while (!Serial) { }
Serial.println(OpenCyphalUniqueId);
}
void loop() { }
