.

Dependencies:   L432KC_SPI_Pey_Lal

Revision:
110:a6d1d3525014
Parent:
109:4ee7ffc8f175
Child:
114:c1f7be27aa5d
diff -r 4ee7ffc8f175 -r a6d1d3525014 protocol.h
--- a/protocol.h	Tue Apr 05 13:34:51 2022 +0000
+++ b/protocol.h	Thu Apr 07 12:13:04 2022 +0000
@@ -1,7 +1,7 @@
 #ifndef PROTOCOL_H
 #define PROTOCOL_H
 
-#include <stdint.h>
+#include "mbed.h"
 
 #define STATE_START_OF_FRAME 0
 #define STATE_PROPULSION 1
@@ -10,7 +10,7 @@
 
 char calculateChecksum(uint32_t propulsion, uint32_t direction);
 void decodeMessage(char c);
-void getVerifiedPWMValues(uint32_t *pwms);
+void getVerifiedPWMValues(uint32_t *pwmPropulsion, uint32_t *pwmDirection);
 char isDataAvailable();
 
 #endif
\ No newline at end of file