i am trying to print on lcd via i2c and with stm32f103c6t6 but it is not working . there are no error in code also what should i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-27 10:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-28 12:25 AM
no error in code - shure ? then bad connection or display defective.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-28 12:50 AM
lcd working perfectly when i run code via arduino ide
and there are no errors also, can you please check out i2c files and code i have uploaded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-28 1:03 AM
ok, this time better information....
did you set adress correct ?
in : HAL_I2C_Master_Transmit(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, ...)
-> Target device address: The device 7 bits address value
* in datasheet must be shifted to the left before calling the interface
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-28 1:09 AM
this is set : #define SLAVE_ADDRESS_LCD 0x4E
address is 0x27 so it is perfect i guess
