OPEnSLab-OSU / Loom

Arduino library for Internet of Things Rapid Prototyping in environmental sensing
GNU General Public License v3.0
26 stars 3 forks source link

Add Loom method to read serial number from Feather M0 #185

Closed kurtjd closed 2 years ago

kurtjd commented 2 years ago

This modification gives the user the ability to access the unique serial-number built into Feather M0s for whatever purpose they need (see: discussion).

Overview of changes:

Example use: LPrintln(Feather.get_serial_no()); // Prints the serial number

Testing: This was tested on a Feather M0 proto basic and Feather M0 WiFi but all Feather variants use the SAMD21 chip so this should work on all Feather variants.