##
# @file   constants.py
# @brief  Constants
#
# @copyright
#
# @addtogroup p
# @{

INT16_MAX = 0x7fff
INT16_MIN = 0 - INT16_MAX

LOG_FORMAT_FILE = '%(asctime)s %(levelname)s [%(module)s:%(funcName)s:%(lineno)d] %(message)s'
LOG_FORMAT_CONSOLE = '%(levelname)s: %(message)s'

LOG_DATEFMT_FILE = None  # to get the default formatter including milliseconds
LOG_DATEFMT_CONSOLE = '%H:%M:%S'

STEPS_PER_REVOLUTION = 200

# @}
