Created
March 1, 2016 11:15
-
-
Save chaeplin/7eab9dd5eaa298427973 to your computer and use it in GitHub Desktop.
requestEvent.ino
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
void requestEvent() | |
{ | |
if ( m % 2 == 0 ) { | |
I2C_writeAnything(sensor_data); | |
} else { | |
I2C_writeAnything(sensor_data_copy); | |
} | |
m++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment