Fuzzy Logic on Arduino print issue

Hi,

I'm having some issues with the library, in particular with the fuzzify method and the print/println method of the Serial class.

The idea of the class is the following:

Class Controller:
{
...
//constructor
Fuzzy* _fuzzy = new Fuzzy();
...
};

Controller:Method readIn()
{
//read input and do something
_fuzzy->setInput( , <_inReading> );
_fuzzy->fuzzify();
}

And in the scketch i have the following:

Controller* fController = new fController();

void loop () {
...
result = fController->readIn();
Serial.println(result);
...
}

The problem comes when using the method readIn, the Serial.println does not print on the serial interface (using the serial monitor of the Arduino IDE).

Any face this issue before? Any ideas of what the problem could be the problem?

Thanks

@gamicolo

TOPIC SPLIT

As a new user you should take a few minutes to READ THIS.

Then you would know more about what to post and how to post for your issue instead of awakening an old thread.

Bob.