Skip to content

Commit

Permalink
Added chipID to setup mode to read it out in the beginning as its use…
Browse files Browse the repository at this point in the history
…d in multiple places
  • Loading branch information
rac2030 committed Jun 16, 2018
1 parent b3e27ad commit 258d9d5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion firmware/src/main.ino
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@

// Identifier of the badge, used for communication
uint64_t chipid;

void setup()
{

Serial.begin(115200);
// Get this devices ID
chipid=ESP.getEfuseMac();


}

Expand Down

0 comments on commit 258d9d5

Please sign in to comment.