Dependents:   serial_connected_mcu_nucleo rotary_encoder_mbed serial_connected_mcu_nucleo omuni_speed_pid ... more

Fork of rotary_encoder by tarou yamada

このライブラリは以下のプログラムに基いています https://developer.mbed.org/users/gregeric/code/Nucleo_Hello_Encoder/

Revision:
2:4580c3869b7b
Parent:
0:caf1d0bc4b90
Child:
7:3b51e2c660b6
--- a/rotary_encoder_a_phase.hpp	Fri Feb 26 05:30:53 2016 +0000
+++ b/rotary_encoder_a_phase.hpp	Fri Feb 26 16:08:52 2016 +0000
@@ -1,5 +1,5 @@
-#ifndef INCLUDED_ROTARY_ENCODER_A_PHASE_H
-#define INCLUDED_ROTARY_ENCODER_A_PHASE_H
+#ifndef INCLUDED_MBED_STL_ROTARY_ENCODER_A_PHASE_H
+#define INCLUDED_MBED_STL_ROTARY_ENCODER_A_PHASE_H
 
 #include "rotary_encoder_base.hpp"
 #include "mbed.h"
@@ -21,6 +21,8 @@
  * TIM5_CH2: AF2 @ PA_1*
  *
  */
+ 
+namespace mbed_stl {
 
 class rotary_encoder_a_phase : public rotary_encoder_base {
 public:
@@ -29,4 +31,6 @@
     virtual ~rotary_encoder_a_phase() {}
 };
 
+} /* namespace mbed_stl */
+
 #endif