Go Down

Topic: LCD together with ArdOS problems (Read 53 times) previous topic - next topic

bouet

We are using a RTOS ArdOS, and we are trying to use the following LCD library: https://codeload.github.com/vanluynm/LiquidCrystal_I2C/zip/master
 
It crashes when we are using the method setCursor, and we are suspecting the following method to be the reason:
void LiquidCrystal_I2C::expanderWrite(uint8_t _data){                                       
   Wire.beginTransmission(_Addr);
   Wire.write((int)(_data) | _backlightval);
   Wire.endTransmission();   
}

Is there any way to work around this, or somehow fix it so it is compatible with ArdOS, or another RTOS?

Rensen

I'm also experiencing this problem with ArdOS combined with that library. The library works fine when used without ArdOS, but if the library is used within a task in ArdOS, it crashes the Arduino.. I hope someone can help.

Go Up