Skip to content

Commit af770a7

Browse files
authored
Update Basic.ino
1 parent f90a0ef commit af770a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Basic/Basic.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void onLostgear(char *attribute, uint8_t* msg, unsigned int msglen) {
4242
void onConnected(char *attribute, uint8_t* msg, unsigned int msglen) {
4343
Serial.println("Connected to NETPIE...");
4444
/* Set the alias of this microgear ALIAS */
45-
microgear.setName(ALIAS);
45+
microgear.setAlias(ALIAS);
4646
}
4747

4848

0 commit comments

Comments
 (0)