arduino stuffs
1
2
3
4
5
6
7
8
9
10
#ifndef ROT_H
#define ROT_H
namespace Rotary {
void setup(const int start = 0);
bool button_just_pressed();

void set(const int n = 0);
int read();
} // namespace Rotary
#endif