Руслан Бредун / Mbed 2 deprecated STM32-MC_node

Dependencies:   mbed Watchdog stm32-sensor-base2

Revision:
17:0c8440955d31
Parent:
14:b3530522908e
--- a/AS5045/AS5045.h	Mon Dec 14 14:13:35 2020 +0000
+++ b/AS5045/AS5045.h	Wed Jan 20 11:18:20 2021 +0000
@@ -19,7 +19,7 @@
 
   static const float MAX_VALUE = 1024;			// Maximum possible encoder position value (ticks for full rotation)
   static const float RESOLUTION = 0.3515625;	// Encoder resolution (0.08789 degrees per tick)
-  static const float SPI_FREQ = 500000;		// Frequency of the SPI bus
+  static const float SPI_FREQ = 5000;		// Frequency of the SPI bus
 };
 
 #endif	// AS5045_H