-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed problems after moving libraries to separate module, fixed some …
…strange warnings during compilation, disabled USART in dht11 module
- Loading branch information
Showing
4 changed files
with
50 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
#ifndef __HD44780_I2C_H__ | ||
#define __HD44780_I2C_H__ | ||
#include "utils.h" | ||
#include "i2c_dma.h" | ||
#include "stdbool.h" | ||
|
||
#include <stm32f10x.h> | ||
#include <stm32f10x_tim.h> | ||
|
||
#include "common_lib/utils.h" | ||
#include "common_lib/i2c_dma.h" | ||
|
||
#define hd44780_address 0x27 | ||
void hd44780_init(TIM_TypeDef *timer); | ||
void hd44780_print(char *string); | ||
void hd44780_go_to_line(u8 line); | ||
void hd44780_go_to(u8 row, u8 col); | ||
void hd44780_cmd(u8 cmd); | ||
void hd44780_char(u8 c); | ||
|
||
|
||
#endif // __HD44780_I2C_H__ |