出力ポートを,オープンドレインまたはプッシュプルに設定するグローバル関数の使用例. Example of global functions for setting the output port bits as open-drain or push-pull.

Dependencies:   mbed UIT_SetOutputPortType

Revision:
2:966a8ad956d3
Parent:
1:5bf39be14d61
Child:
3:f9dc19059c3b
--- a/main.cpp	Sun Aug 30 08:55:01 2015 +0000
+++ b/main.cpp	Fri Sep 04 12:02:07 2015 +0000
@@ -3,7 +3,7 @@
 // (Example of global functions for setting the output port bit
 //  as open-drain or push-pull)
 //
-// 2015/08/30, Copyright (c) 2015 MIKAMI, Naoki
+// 2015/09/04, Copyright (c) 2015 MIKAMI, Naoki
 //---------------------------------------------------------------------------------
 
 #include "SetOutputPortType.hpp"
@@ -51,4 +51,4 @@
     printf("\r\nD2 - D4: open drain\r\n");
     
     while (true);
-}
\ No newline at end of file
+}