Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of all_combined_week6 by
Diff: slave.cpp
- Revision:
- 4:79b97f9cab00
- Parent:
- 3:9b597ed04ef4
- Child:
- 6:82153349cc9b
--- a/slave.cpp Fri Jul 11 08:54:12 2014 +0000 +++ b/slave.cpp Sat Jul 12 07:26:06 2014 +0000 @@ -1,7 +1,7 @@ #include "slave.h" #include "HK.h" -extern SensorData Sensor; +extern struct SensorData Sensor; I2CSlave slave(p28,p27); //configuring pins p27, p28 as I2Cslave Serial screen (USBTX,USBRX); void write_to_master(char send) //function to write data to master
