Skip to content

Commit

Permalink
Updated Usage to include serialNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasMata committed Aug 24, 2017
1 parent 25f9869 commit 0f19e21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const pitect = require('pitect');
if(pitect.isPi()) {
console.log('This is a Raspberry Pi.');
console.log('This is: ' + pitect.piModel().name);
console.log('Raspberry Pi Serial Number: ' + pitect.serialNumber());
if (pitect.piModel() == pitect.MODELS.PI_A) {
console.log('This is a Raspberry PI Model A');
}
Expand Down

0 comments on commit 0f19e21

Please sign in to comment.