- Initial commit of base firmware - which is still very raw
This commit is contained in:
32
Firmware/Rotary_Encoder.h
Normal file
32
Firmware/Rotary_Encoder.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Rotary_Encoder.h
|
||||
*
|
||||
* Created: Mon Nov 29 2021 11:25:57
|
||||
* Author Chris
|
||||
*/
|
||||
#ifndef ROTARY_ENCODER_H_
|
||||
#define ROTARY_ENCODER_H_
|
||||
|
||||
// ============================================================================================
|
||||
// Includes
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
// ============================================================================================
|
||||
// Defines
|
||||
|
||||
|
||||
// ============================================================================================
|
||||
// Datatypes
|
||||
|
||||
|
||||
// ============================================================================================
|
||||
// Function Declarations
|
||||
void Rotary_Encoder_Init(void);
|
||||
|
||||
bool Rotary_Encoder_Rotation_CW_Occurred(void);
|
||||
bool Rotary_Encoder_Rotation_CCW_Occurred(void);
|
||||
bool Rotary_Encoder_Switch_Press_Occurred(void);
|
||||
|
||||
|
||||
#endif /* ROTARY_ENCODER_H_ */
|
||||
Reference in New Issue
Block a user