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