20 lines
434 B
C
20 lines
434 B
C
#ifndef _UNIFORM_H_
|
|
#define _UNIFORM_H_
|
|
|
|
#include "app.h"
|
|
|
|
void uniform_motion(void);
|
|
char uniform_limit(float start, float end);
|
|
void speed_set(uint32_t uni_speed);
|
|
|
|
#define SLOW_SPEED (uint32_t)10000
|
|
#define MEDIUM_SLOW_SPEED (uint32_t)30000
|
|
#define MEDIUM_SPEED (uint32_t)60000
|
|
#define MEDIUM_FAST_SPEED (uint32_t)90000
|
|
#define FAST_SPEED (uint32_t)120000
|
|
|
|
extern uint32_t uniform_speed;
|
|
extern uint32_t uniform_speed_prv;
|
|
|
|
#endif
|