Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: serial_connected_mcu_nucleo rotary_encoder_mbed serial_connected_mcu_nucleo omuni_speed_pid ... more
Fork of rotary_encoder by
Diff: rotary_encoder_a_phase.hpp
- Revision:
- 2:4580c3869b7b
- Parent:
- 0:caf1d0bc4b90
- Child:
- 7:3b51e2c660b6
diff -r 0b315dd1bbbf -r 4580c3869b7b rotary_encoder_a_phase.hpp
--- 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
