Closed rbudde closed 5 years ago
@rbudde it seems to be Botnroll, not NXT
@elhele you are right. It wasn't NXT, but arduino!
Do we have to fix it anyway?
unsigned int colorSensorColor(byte colors[], int port);
So basically c_str() is called for uint.
BotnRollCppVisitor.java:
if ( (isVar && (varType.equals("STRING"))) || ((mode != null) && !mode.toString().equals("RED") && !mode.toString().equals("RGB")) ) {
toChar = ".c_str()";
}
writing promitive types to the display invokes c_str() on them, which fails.