home Forums # Technical Support need for helping Reply To: need for helping

#1601
Unknown
Member

In your code you have:


engine.process();
FuzzyLite.logger().info(String.format(
“Ambient.input = %s -> Power.output = %s”,
Op.str(light), Op.str(power.defuzzify())));

Instead of using the logger, you can concatenate the the outputs in a String and show it afer your for loop


for (int i = 0; i < 50; ++i) {
...
}

[showTextView(outPutString);]