-
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 Support Atmel SAMD21 (Arduino Zero) Add Example to SerialUSB for convenience.
- Loading branch information
Showing
5 changed files
with
76 additions
and
9 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
19 changes: 19 additions & 0 deletions
19
examples/ArduinoUniqueIDSerialUSB/ArduinoUniqueIDSerialUSB.ino
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,19 @@ | ||
// | ||
// ArduinoUniqueIDSerialUSB.ino | ||
// | ||
// Example shows the UniqueID on the SerialUSB Monitor. | ||
// | ||
|
||
#include <ArduinoUniqueID.h> | ||
|
||
void setup() | ||
{ | ||
SerialUSB.begin(115200); | ||
while (!SerialUSB); | ||
UniqueIDdump(SerialUSB); | ||
UniqueID8dump(SerialUSB); | ||
} | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name=ArduinoUniqueID | ||
version=1.0.6 | ||
version=1.0.7 | ||
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 microcontroler: Atmega328pb, Atmega328p, Atmega2560, Attiny85, SAM3X8E, ESP8266 & ESP32. | ||
sentence=Arduino Library to gets the Manufacture Serial Number from the Atmel AVR, SAM, SAMD, and ESP Microcontroller. | ||
paragraph=The ArduinoUniqueID Library use the buildin feature to select the manufacture serial number from the microcontroler. Suported microcontroler: Atmega328pb, Atmega328p, Atmega2560, Attiny85, SAM3X8E, SAMD21, ESP8266 & ESP32. | ||
category=Other | ||
url=https://github.com/ricaun/ArduinoUniqueID | ||
architectures=avr, esp8266, esp32, sam | ||
architectures=avr, esp8266, esp32, sam, samd | ||
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