print float numbers
This commit is contained in:
@@ -25,14 +25,21 @@ typedef struct DS_MAX7219
|
||||
|
||||
void DS_MAX7219_Init(DS_MAX7219* Display, SPI_HandleTypeDef* SPI, GPIO_TypeDef* Port_CS, uint16_t Pin_CS);
|
||||
|
||||
/// @brief Enabled dots from display. Each bit - dot
|
||||
/// @param Display
|
||||
/// @param Dots 0 - 0xFF
|
||||
void DS_MAX7219_EnableDots(DS_MAX7219* Display, uint8_t Dots);
|
||||
|
||||
void DS_MAX7219_Print(DS_MAX7219* Display, int64_t Number);
|
||||
|
||||
void DS_MAX7219_PrintFloat(DS_MAX7219* Display, float Number);
|
||||
|
||||
void DS_MAX7219_UpdataDisplay(DS_MAX7219* Display);
|
||||
|
||||
void DS_MAX7219_ConfigureDisplay(DS_MAX7219* Display, uint8_t DecodeMode, uint8_t Intensivity, uint8_t ScanLimit);
|
||||
|
||||
void __DS_MAX7219_SendConfigData(DS_MAX7219* Display);
|
||||
|
||||
uint8_t __DS_Max7219_MakeNumberGreaterOne(float, uint8_t);
|
||||
|
||||
#endif //DSMAX7219_H
|
||||
Reference in New Issue
Block a user