DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
Loading...
Searching...
No Matches
Macros | Variables
/home/runner/work/DCCEXSimpleThrottle/DCCEXSimpleThrottle/Rotary.cpp File Reference
#include "Arduino.h"
#include "Rotary.h"
Include dependency graph for Rotary.cpp:

Macros

#define R_START   0x0
 
#define R_CW_FINAL   0x1
 
#define R_CW_BEGIN   0x2
 
#define R_CW_NEXT   0x3
 
#define R_CCW_BEGIN   0x4
 
#define R_CCW_FINAL   0x5
 
#define R_CCW_NEXT   0x6
 

Variables

const unsigned char ttable [7][4]
 

Macro Definition Documentation

◆ R_CCW_BEGIN

#define R_CCW_BEGIN   0x4

◆ R_CCW_FINAL

#define R_CCW_FINAL   0x5

◆ R_CCW_NEXT

#define R_CCW_NEXT   0x6

◆ R_CW_BEGIN

#define R_CW_BEGIN   0x2

◆ R_CW_FINAL

#define R_CW_FINAL   0x1

◆ R_CW_NEXT

#define R_CW_NEXT   0x3

◆ R_START

#define R_START   0x0

Variable Documentation

◆ ttable

const unsigned char ttable[7][4]
Initial value:
= {
}
#define R_CW_FINAL
Definition Rotary.cpp:98
#define R_CW_BEGIN
Definition Rotary.cpp:99
#define R_CCW_FINAL
Definition Rotary.cpp:102
#define R_CCW_BEGIN
Definition Rotary.cpp:101
#define R_START
Definition Rotary.cpp:73
#define R_CW_NEXT
Definition Rotary.cpp:100
#define R_CCW_NEXT
Definition Rotary.cpp:103
#define DIR_CW
Definition Rotary.h:20
#define DIR_CCW
Definition Rotary.h:22