Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 29 lines (28 sloc) 0.891 kB
caec9fa added README file. just took header from code.
goldfish authored
1 /* VHSbeacon - firmware for VHS beacon for blue robot challenge
2 * Infrared Protocol
3 *
4 * The communication occurs via infrared pulse, on a 37.9khz
5 * carrier wave with 2 bits of information. A logical one is
6 * formed by a space of 600µS (1T) and a pulse of 1200µS (2T).
7 * A logical zero is formed by a space of 1T and a pulse of 1T.
8 *
9 * Protocol: START, COMMAND, TEAM
10 * START - after a space of at least 3T, a 3T pulse indicates
11 * the start of the message.
12 * COMMAND - a 0 bit indicates a capture message, sent from a
13 * robot to a beacon.
14 * - a 1 bit indicates a status message, sent from a
15 * beacon to a robot.
16 * TEAM - a 0 bit indicates the red team
17 * - a 1 bit indicates the blue team
18 *
19 * Example: Blue robot wishes to capture a beacon
20 *
6543741 enabled ir rcv. commented out some debug code
goldfish authored
21 * _____ ___ ____
22 * | | | | | |
23 * ___| |_| |_| |
caec9fa added README file. just took header from code.
goldfish authored
24 *
25 * A beacon indicates a neutral state by alternating red then
26 * blue status message
27 *
28 */
Something went wrong with that request. Please try again.