Skip to content

Instantly share code, notes, and snippets.

@shield-9
Created November 24, 2016 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shield-9/49ca49aa3ad9e0686bbc017da98df69f to your computer and use it in GitHub Desktop.
Save shield-9/49ca49aa3ad9e0686bbc017da98df69f to your computer and use it in GitHub Desktop.
#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