I2C fast mode plus support library. This library works on mbed-11U24's p28&p27 only.

Dependents:   I2C_FmPlus_Hello

A sample code for I2C Fast mode plus operation.

Warning!

This code works on mbed-LPC11U24 only.

Import programI2C_FmPlus_Hello

Sample code for "I2C_FmPlus" library. I2C fast mode plus support library. This library works on mbed-11U24's p28&p27 only.

Revision:
2:16a05acd675b
Parent:
1:6d19e8abca69
--- a/I2C_FmPlus.cpp	Tue Dec 02 03:57:29 2014 +0000
+++ b/I2C_FmPlus.cpp	Tue Dec 02 04:01:28 2014 +0000
@@ -9,6 +9,10 @@
 #include    "mbed.h"
 #include    "I2C_FmPlus.h"
 
+#ifndef TARGET_LPC11U24_401
+#error this version pnly supports mbed-LPC11U24
+#endif
+
 I2C_FmPlus::I2C_FmPlus( PinName sda, PinName scl ) : I2C( sda, scl ), _frequency( 1000 * 1000 ), _ratio( 0.4 )
 {
     LPC_IOCON->PIO0_4   &= ~0x300;