We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553855f commit e854088Copy full SHA for e854088
libraries/Apollo3/examples/Example10_DisplayICRevision/Example10_DisplayICRevision.ino
@@ -32,6 +32,16 @@ void setup()
32
{
33
Serial.print("Unknown revision");
34
}
35
+ //Unique ChipID
36
+ am_hal_mcuctrl_device_t sDevice;
37
+ am_hal_mcuctrl_info_get(AM_HAL_MCUCTRL_INFO_DEVICEID, &sDevice);
38
+
39
+ Serial.print("ChipID0 : 0x");
40
+ Serial.println(sDevice.ui32ChipID0, HEX);
41
42
+ Serial.print("ChipID1 : 0x");
43
+ Serial.println(sDevice.ui32ChipID1, HEX);
44
45
Serial.println();
46
Serial.println("All done");
47
0 commit comments