It is based on https://developer.mbed.org/users/gregeric/code/Nucleo_Hello_Encoder/
Diff: rotary_encoder.hpp
- Revision:
- 4:d07f58c46a79
- Parent:
- 2:4580c3869b7b
diff -r 65021ea3fae5 -r d07f58c46a79 rotary_encoder.hpp --- a/rotary_encoder.hpp Thu Mar 31 04:42:31 2016 +0000 +++ b/rotary_encoder.hpp Sun Apr 03 06:30:19 2016 +0000 @@ -1,7 +1,8 @@ #ifndef INCLUDED_MBED_STL_ROTARY_ENCODER_H #define INCLUDED_MBED_STL_ROTARY_ENCODER_H -#include "mbed.h" +#include <stdint.h> +#include <stddef.h> namespace mbed_stl {