Porting I2C interfaced LCD code, and can't get printf() to sensibly engage with a working _write() implementation. Mostly no output, infrequently seen filling LCD display with repeats of output expected.
Got printf() to send to UART via HAL calls in _write() before, but no clue why LCD code attempt fails?
Code: Select all
// In LCD_I2C.c
// Both I/O functions tried, and seemingly working.
int __io_putchar(int ch)
int _write(int file, char *ptr, int len)
int chars_left = len;
Sorry, new to CubeMX/ Atollic, so not sure what else to post?