direction commands updated to Up down RPM value

Dependencies:   MAX7219pot MCP23S17 mbed

Fork of POT_V_1_0 by Marine Electricals

Revision:
4:710464cb44fc
Parent:
3:ae45e29f5d4f
Child:
5:f7b7ee0702cc
diff -r ae45e29f5d4f -r 710464cb44fc pot.h
--- a/pot.h	Sat Jan 13 11:49:18 2018 +0000
+++ b/pot.h	Sat Apr 28 10:22:22 2018 +0000
@@ -6,8 +6,9 @@
 #define _ACK                 PA_12
 #define _CMD_ACK             PA_11
 #define _WH                  PB_6
-#define _MCR                 PC_0
-#define _BRDG                PC_3
+#define _BRDG                PC_0
+
+#define _MCR                 PC_3
 #define _ER                  PA_8
 #define _WP                  PB_1
 #define _WS                  PB_10
@@ -37,19 +38,20 @@
 #define SPI2_CS2            PC_7 
 
 /*Pin defination for external interrupts */
-#define INT_A               PC_4
+#define INT_A               PA_5     //PC_13
 #define INT_B               PA_9
 #define INT_C               PA_0
 
-/*Pin defination for UART config */
+
 #define SERIAL_TX           PA_2
 #define SERIAL_RX           PA_3
-#define Tx_EN               PA_5
+#define TX_EN               PC_4    //PA_5
 
 /*UART buffer settings */
-#define RX_BUFFER_SIZE      0x19           //25 bytes or char to be stored
-#define TX_BUFFER_SIZE      0x19
+#define RX_BUFFER_SIZE      0x2D           // origional 0x1e=25 bytes or char to be stored
+#define TX_BUFFER_SIZE      0x2D            // to store 37 chars
 
-#define NO_MAX_POT          0x08           //maximum no. of of eot devices to be connected
+#define NO_MAX_POT          0x08           //maximum no. of of pot devices to be connected
 #define NMEA_END_CHAR_1     '\n'
-#define NMEA_MAX_LENGTH     30
+#define NMEA_MAX_LENGTH     45             //maximum setence length
+