pure encoder test working on pins d5 and d6
This commit is contained in:
11
include/encoder.hpp
Normal file
11
include/encoder.hpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef ENCODER_H
|
||||
#define ENCODER_H
|
||||
#include <atomic>
|
||||
#include "esp_pm.h"
|
||||
|
||||
extern volatile int32_t encoder_count;
|
||||
extern esp_pm_lock_handle_t encoder_pm_lock;
|
||||
|
||||
void encoder_init();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user