bianchi77
Advanced Member level 4
- Joined
- Jun 11, 2009
- Messages
- 1,313
- Helped
- 21
- Reputation
- 44
- Reaction score
- 20
- Trophy points
- 1,318
- Location
- California
- Activity points
- 9,442
Guys,
How can I print fr to UART ?
I got this error :
How can I print fr to UART ?
Code:
fr = f_open(&MyFile, "STM32.TXT", FA_CREATE_ALWAYS | FA_WRITE);
HAL_UART_Transmit(&huart1, fr, 32, 1); // Debug
I got this error :
..\Src\main.c(85): error: #167: argument of type "FRESULT" is incompatible with parameter of type "uint8_t *"