#pragma once #include "message.h" #include #include static const uint8_t BLASTER_HOST = 23; static const uint8_t BLASTER_INDEX = 0; #define BLASTER_FIRE_CMD 0x513F enum FIRETYPE { FIRETYPE_WATER = 0, FIRETYPE_INFRARED = 1 }; enum FIRETIMES { ONE = 1, TWO = 2, THREE = 3, FOUR = 4, FIVE = 5 }; void blaster_fire ( union Request* req, uint16_t seq, bool ack, enum FIRETYPE type, enum FIRETIMES times );