Topic: tech dcc pc src prev next

tech dcc pc src > constants.h

#ifndef HERMES_CONSTANTS_H
#define HERMES_CONSTANTS_H

// The highest permitted value for a locomotive address.
#define HERMES_MAX_LOCO_ADDRESS 127

// The highest permitted value for an accessory.
#define HERMES_MAX_ACC_ADDRESS 999

// The highest permitted value for a CV (obvious, but nice to be named).
#define HERMES_MAX_CV_VALUE 255

// The highest permitted number for a CV.
#define HERMES_MAX_CV_NO 1024

// The highest permitted function number.
#define HERMES_MAX_FUNCTION 28


#endif