BroBot Code for ESE350 Lab6 part 3 (Skeleton)

Dependencies:   MPU6050_V3 mbed-rtos mbed

Fork of BroBot_RTOS_ESE350 by Carter Sharer

Revision:
4:2512939c10f0
Parent:
3:2f76ffbc5cef
Child:
6:62cdb7482b50
--- a/pin_assignments.h	Wed Oct 12 05:04:10 2016 +0000
+++ b/pin_assignments.h	Tue Oct 18 20:44:21 2016 +0000
@@ -1,9 +1,38 @@
 //pin_assignments.h
 //Contains all the pin assignments for this project
 
-//GND
-//VIN
-//
+//HARDWARE
+//The main processor is an MBed LPC1768
+//There are two motor drivers A4988(1) and A4988(2)
+//There is one 6 axis IMU MP6050
+//There is one RF transciever MRF24j40
+
+/*
+                    -------------
+                    |GND |_|VOUT|
+                    |VIN     VU |
+                    |VB      IF-|
+                    |nR      IF+|
+                    |p5   L  RD-|
+                    |p6   P  RD+|
+                    |p7   C  TD-|
+                    |p8   1  TD+|
+                    |p9   7  D- |
+                    |p10  6  D+ |
+                    |p11  8  p30|
+                    |p12     p29|
+                    |p13     p28|
+                    |p14     p27|
+                    |p15     p26|
+                    |p16     p25|
+                    |p17     p24|
+                    |p18     p23|
+ A4988(1) Step ---  |p19     p22|
+                    |p20     p21|
+                    -------------
+
+*/
+
 
 //Pin Declarations
 
@@ -18,4 +47,11 @@
 //MPU6050 SPI PINS
 #define I2C_SDA p28
 #define I2C_SCL p27
-#define CHECKPIN p29  //for IMU interupt pin
\ No newline at end of file
+#define CHECKPIN p29  //for IMU interupt pin
+
+//MRF24J40
+#define SDI p11
+#define SDO p12
+#define SCK p13
+#define CS p7
+#define RESET p8