Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MFS_ADC MFS-7_Segment-Interrupt MFS_USART_Test_HAL MFS_02-Luftschlange ... more
Diff: MFS.h
- Revision:
- 11:64f579b3fd14
- Parent:
- 10:dcfa32556a25
--- a/MFS.h Fri Mar 12 08:36:07 2021 +0000
+++ b/MFS.h Fri Mar 12 10:03:30 2021 +0000
@@ -1,4 +1,4 @@
-//#include "stm32l1xx_hal.h"
+//#include "stm32f4xx_hal.h"
#include "mbed.h"
#define USART_TX_Pin GPIO_PIN_2
@@ -10,6 +10,14 @@
#define latch_Pin GPIO_PIN_5
#define latch_GPIO_Port GPIOB
+#ifndef GPIO_SPEED_FREQ_VERY_HIGH
+#define GPIO_SPEED_FREQ_VERY_HIGH GPIO_SPEED_FREQ_HIGH
+#endif
+
+#ifndef GPIO_AF7_USART1
+#define GPIO_AF7_USART1 1
+#endif
+
class MFS
{
private: