embedded-software
reusable software modules for embedded systems
|
Go to the source code of this file.
Macros | |
#define | FIRE_BAUD_RATE 9600 |
#define | SHOTS_PER_BURST 3 |
#define | GUN_UART 1 |
#define | MIN_LIMIT 100 |
Functions | |
void | LaserComms_Init (uint8_t playerid, void(*hit)(uint8_t), uint32_t limit) |
void | LaserComms_Fire (void) |
void | LaserComms_HitFilter (uint8_t enemyPlayer) |
#define FIRE_BAUD_RATE 9600 |
#define GUN_UART 1 |
#define MIN_LIMIT 100 |
#define SHOTS_PER_BURST 3 |
void LaserComms_Fire | ( | void | ) |
void LaserComms_HitFilter | ( | uint8_t | enemyPlayer | ) |
void LaserComms_Init | ( | uint8_t | playerid, |
void(*)(uint8_t) | hit, | ||
uint32_t | limit | ||
) |