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 compare the result of the furnction output ?
I have on main.c :
and :
vs.c :
Thanks
How can compare the result of the furnction output ?
I have on main.c :
Code:
result = VS1053_Init();
if (result == 0)
{
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_6 , 1 );
HAL_Delay(100);
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_6 , 0 );
}
and :
vs.c :
Code:
unsigned char VS1053B_Init()
{
.
.
.
return 0;
}
Thanks