Created
November 24, 2016 07:19
-
-
Save shield-9/49ca49aa3ad9e0686bbc017da98df69f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SakuraIO.h> | |
//SakuraIO_SPI sakuraio(10); | |
SakuraIO_I2C sakuraio; | |
void setup() { | |
Serial.begin(9600); | |
Serial.print("Waiting to come online"); | |
} | |
void loop() { | |
int status = sakuraio.getConnectionStatus(); | |
Serial.println(status, HEX); | |
delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment