arduino / Arduino

Arduino IDE 1.x
https://www.arduino.cc/en/software
Other
14.08k stars 7.01k forks source link

[Library Manger] ArduinoUniqueID #8639

Closed ricaun closed 5 years ago

ricaun commented 5 years ago

Hello please add this new library! https://github.com/ricaun/CayenneLPPDecode and https://github.com/ricaun/ArduinoUniqueID

PaulStoffregen commented 5 years ago

Maybe consider adding function to your unique ID library to query the number of bytes? Maybe have the example get the number, rather than hard-coding the size to 8 bytes? This could pave the way for extending it to other chips (maybe someday even non-AVR chips) with a different number of ID bytes.

FWIW, some time ago I discovered the 32u4 chip also appears to have similar unique bytes.

ricaun commented 5 years ago

That's a good idea!!! I upgraded to library now has a UniqueIDsize hows show how many unique byte the chip has.

cmaglie commented 5 years ago

done!