Fixed minor example issues
This commit is contained in:
parent
01c23b6a58
commit
b9dbeb69d9
|
@ -53,7 +53,7 @@ void functx(i2c_msg *msg){
|
|||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
Serial.println("I2C Slave example");
|
||||
Serial.println("libmaple I2C slave reader example");
|
||||
|
||||
// attach the buffer
|
||||
msg.data = buffer;
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
|
||||
#include <Wire_slave.h>
|
||||
#define Serial Serial1
|
||||
|
||||
void setup(){
|
||||
Serial.begin(115200); // start serial for output
|
||||
|
|
Loading…
Reference in New Issue