Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.

Dependencies:   mbed Watchdog SDFileSystem DigoleSerialDisp

Files at this revision

API Documentation at this revision

Comitter:
shimniok
Date:
Thu Nov 29 16:12:24 2018 +0000
Parent:
6:78b4da5a5337
Child:
8:aed35fb80b0f
Commit message:
Added devices header mapping functions to peripherals/pins for RoverBaseboard

Changed in this revision

devices.h Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/devices.h	Thu Nov 29 16:12:24 2018 +0000
@@ -0,0 +1,38 @@
+/*
+ * devices.h
+ *
+ * Configure device assignments and device objects
+ *
+ *  Created on: May 7, 2014
+ *      Author: mes
+ */
+
+#ifndef DEVICES_H_
+#define DEVICES_H_
+
+/** Device Objects */
+#include "L3G4200D.h"
+
+extern L3G4200D gyro;
+
+#include "mbed.h"
+#include "boards.h"
+
+/** GPS */
+#define GPSTX           UART1TX
+#define GPSRX           UART1RX
+
+/** Telemetry */
+#define TELEMTX         UART2TX
+#define TELEMRX         UART2RX
+
+/** LCD */
+#define LCDTX           UART3TX
+#define LCDRX           UART3RX
+
+/** UI Buttons */
+#define BUTTONNEXT      _D1
+#define BUTTONPREV      _P1
+#define BUTTONSELECT    _D0
+
+#endif /* CONFIG_H_ */