Files
EggbotWireless/Firmware/MotorControl/include/Config.h
2020-03-20 14:28:53 +03:00

13 lines
337 B
C++

#ifndef CONFIG_H
#define CONFIG_H
constexpr unsigned int stsUpdDelay{10};
constexpr float defRPM{2}, defEggLength{60}, defEggDia{45}, xLimit{85};
constexpr float defYDegPerMM{360 / (PI * defEggDia)},
defXDegPerMM{xLimit / defEggLength};
constexpr int timer2Div {8};
constexpr int ticksPerSecond{F_CPU / (timer2Div * 255)};
#endif