Initial I2C Working
Revision 3:c6aad2355a40, committed 2017-03-30
- Comitter:
- sk398
- Date:
- Thu Mar 30 06:27:48 2017 +0000
- Parent:
- 2:832cb4376d2a
- Commit message:
- Working Version. By commenting out the required class decleration, the software is portable between the F042K6 and F446RE development boards
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Mar 29 17:55:38 2017 +0000
+++ b/main.cpp Thu Mar 30 06:27:48 2017 +0000
@@ -1,7 +1,11 @@
#include "mbed.h"
#include "MCP9803.h"
-MCP9803 TempSensor(PB_9,PB_8,0x90,100000);
+////F446RE Board
+//MCP9803 TempSensor(PB_9,PB_8,0x90,100000);
+
+//F042K6 Board
+MCP9803 TempSensor(PB_7,PB_6,0x90,100000);
int main()
{