Skip to content

Commit 6b07559

Browse files
anunpanyachavee
authored andcommitted
Use setAlias instead of setname (#15)
1 parent 0a282d4 commit 6b07559

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void onLostgear(char *attribute, uint8_t* msg, unsigned int msglen) {
7474
void onConnected(char *attribute, uint8_t* msg, unsigned int msglen) {
7575
Serial.println("Connected to NETPIE...");
7676
/* Set the alias of this microgear ALIAS */
77-
microgear.setName(ALIAS);
77+
microgear.setAlias(ALIAS);
7878
}
7979

8080

README.th.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void onLostgear(char *attribute, uint8_t* msg, unsigned int msglen) {
6767
void onConnected(char *attribute, uint8_t* msg, unsigned int msglen) {
6868
Serial.println("Connected to NETPIE...");
6969
/* Set the alias of this microgear ALIAS */
70-
microgear.setName(ALIAS);
70+
microgear.setAlias(ALIAS);
7171
}
7272

7373

0 commit comments

Comments
 (0)