Skip to content

Commit

Permalink
chore: added new example
Browse files Browse the repository at this point in the history
  • Loading branch information
LasaleFamine committed Feb 22, 2024
1 parent 2f3c363 commit 11aa444
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions examples/CustomButtinoHandle/CustomButtinoHandle.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include "ButtinoRAK.h"

ButtinoRAK buttino;

void setup()
{
Serial.begin(115200, RAK_AT_MODE);
delay(2000);
buttino.begin(WB_IO5);
}

void loop()
{
}
4 changes: 2 additions & 2 deletions examples/SimpleButtinoHandle/SimpleButtinoHandle.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#include "ButtinoRAK.h"

ButtinoRAK buttinoHandler;
ButtinoRAK buttino;

void setup()
{
Serial.begin(115200, RAK_AT_MODE);
delay(2000);
buttinoHandler.begin(WB_IO5);
buttino.begin();
}

void loop()
Expand Down

0 comments on commit 11aa444

Please sign in to comment.