#include "ScexDefinitions.h" uint8_t scex::createCmdByte(ScexCmds cmd, bool tempCheck) { return (IDLE_BIT_0_DEF_STATE << 7) | (IDLE_BIT_1_DEF_STATE << 6) | (cmd << 1) | tempCheck; }