feat: initial
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.DS_Store
|
@@ -34,7 +34,7 @@ git clone http://git.zh.com.ru/avr_libraries/zh_avr_vector
|
||||
git clone http://git.zh.com.ru/avr_libraries/zh_avr_i2c
|
||||
git clone http://git.zh.com.ru/avr_libraries/zh_avr_common
|
||||
git clone http://git.zh.com.ru/avr_libraries/zh_avr_pcf8574
|
||||
git clone http://git.zh.com.ru/avr_libraries/zh_160x_i2c
|
||||
git clone http://git.zh.com.ru/avr_libraries/zh_avr_160x_i2c
|
||||
```
|
||||
|
||||
In the application, add the component:
|
||||
@@ -71,7 +71,7 @@ void lcd_160x_example_task(void *pvParameters)
|
||||
{
|
||||
zh_avr_i2c_master_init(false);
|
||||
zh_avr_pcf8574_init_config_t pcf8574_init_config = ZH_AVR_PCF8574_INIT_CONFIG_DEFAULT();
|
||||
pcf8574_init_config.i2c_address = 0x38; // 27
|
||||
pcf8574_init_config.i2c_address = 0x27;
|
||||
zh_avr_pcf8574_init(&pcf8574_init_config, &lcd_160x_handle);
|
||||
zh_avr_160x_init(&lcd_160x_handle, ZH_LCD_16X2); // For LCD 16X2.
|
||||
// zh_avr_160x_init(&lcd_160x_handle, ZH_LCD_16X4); // For LCD 16X4.
|
||||
|
@@ -94,8 +94,6 @@ extern "C"
|
||||
*/
|
||||
avr_err_t zh_avr_160x_clear_row(zh_avr_pcf8574_handle_t *handle, uint8_t row);
|
||||
|
||||
extern void zh_avr_pcf8574_event_handler(zh_avr_pcf8574_event_on_isr_t *event);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user