-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi, thanks for continue to update the firmware of Rosbot XL! I updated our machine (Board Version 1.1) to the last release (V1.4.0) of your firmware, but the fan are always turned off. I think the problem is in HardwareLoopTask() because after some attempts I realized that code never goes inside the function FanHardwareInit(). In fact I edit the code in these way:
void FanHardwareInit(void)
{
if (GetBoardVersion() == (String) "v1.1") {
digitalWrite(FAN_PP_PIN, HIGH);
pinMode(FAN_PP_PIN, OUTPUT);
}
if (GetBoardVersion() == (String) "v1.2") {
analogReadResolution(ADC_RESOLUTION);
digitalWrite(FAN_PWM_PIN, HIGH);
pinMode(FAN_PWM_PIN, OUTPUT);
}
digitalWrite(FAN_PP_PIN, HIGH);
pinMode(FAN_PP_PIN, OUTPUT);
}and fan were still turned off.
Then I revert and I put these lines only in BoardGpioInit() :
void BoardGpioInit(void){
...
digitalWrite(FAN_PP_PIN, HIGH);
pinMode(FAN_PP_PIN, OUTPUT);
}and fan finally started to run.
Metadata
Metadata
Assignees
Labels
No labels