-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ESP8266 Support Add ESP32 Support Add UniqueID8dump function Add UniqueID8 example
- Loading branch information
Showing
7 changed files
with
140 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// ArduinoUniqueID8.ino | ||
// | ||
// Example shows the last eight UniqueID on the Serial Monitor. | ||
// | ||
|
||
#include <ArduinoUniqueID.h> | ||
|
||
void setup() | ||
{ | ||
Serial.begin(115200); | ||
UniqueID8dump(Serial); | ||
Serial.print("UniqueID: "); | ||
for (size_t i = 0; i < 8; i++) | ||
{ | ||
if (UniqueID8[i] < 0x10) | ||
Serial.print("0"); | ||
Serial.print(UniqueID8[i], HEX); | ||
Serial.print(" "); | ||
} | ||
Serial.println(); | ||
} | ||
|
||
void loop() | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name=ArduinoUniqueID | ||
version=1.0.3 | ||
version=1.0.4 | ||
author=Luiz Henrique Cassettari | ||
maintainer=Luiz Henrique Cassettari <[email protected]> | ||
sentence=Arduino Library to get the AVR microcontroler Unique ID / Manufacture Serial Number. | ||
paragraph=The ArduinoUniqueID Library use the buildin feature to select the manufacture serial number from the microcontroler. Suported / Tested microcontroler: Atmega328pb, Atmega328p, Atmega2560 & Attiny85. | ||
paragraph=The ArduinoUniqueID Library use the buildin feature to select the manufacture serial number from the microcontroler. Suported microcontroler: Atmega328pb, Atmega328p, Atmega2560, Attiny85, ESP8266 & ESP32. | ||
category=Other | ||
url=https://github.com/ricaun/ArduinoUniqueID | ||
architectures=avr | ||
architectures=avr, esp8266, esp32 | ||
includes=ArduinoUniqueID.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters