The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
170:e95d10626187
Parent:
143:86740a56073b
--- a/TARGET_DISCO_L072CZ_LRWAN1/TARGET_STM/TARGET_STM32L0/i2c_device.h	Fri Jun 22 15:38:59 2018 +0100
+++ b/TARGET_DISCO_L072CZ_LRWAN1/TARGET_STM/TARGET_STM32L0/i2c_device.h	Thu Sep 06 13:39:34 2018 +0100
@@ -68,9 +68,9 @@
     switch (hz) {
         case 100000:
             tim = 0x20602938; // Standard mode with Rise Time = 400ns and Fall Time = 100ns
-                break;
+            break;
         case 400000:
-             tim = 0x00B0122A; // Fast mode with Rise Time = 250ns and Fall Time = 100ns
+            tim = 0x00B0122A; // Fast mode with Rise Time = 250ns and Fall Time = 100ns
             break;
         case 1000000:
             tim = 0x0030040E; // Fast mode Plus with Rise Time = 60ns and Fall Time = 100ns