1 /* ======== ZumoTest.ino ========
2 * Completely self-contained test of the Zumo CC3200
3 *
4 * This example creates an access point named zumo-test with password
5 * "password" and a simple command/telemetry server on port 8080.
6 *
7 * The command server allows any WiFi client to drive the Zumo using WASD
8 * keystrokes and acquire IMU telemetry data for real-time display by a
9 * client program running on a laptop.
10 *
11 * Two examples of such a client are provided in the ../Processing/ManualDrive
12 * sub-directory: zgraph and zecho. Both are Processing applications (which
13 * uses the development IDE that inspired the Energia/Wiring development
14 * environment; see https://processing.org).
15 */
16 #include "L3G.h"
17 #include "LSM303.h"
19 /* imu sketch external declarations */
20 extern LSM303 imuCompass; /* acceleration and magnetometer */
21 extern L3G imuGyro; /* gyro data */
23 /* motor sketch external declarations */
24 extern char motorCmd;
25 extern int motorLeft;
26 extern int motorRight;
28 /* main external declarations */
29 #define MAIN_LED_PIN RED_LED