UNO but not Pro Mini

I have dl a sketch from NeuroSky for my Pro Mini 3,3/8Mhz.
It compile good,

however when I run it there is no output!

When do the same on an UNO it runs and produes output good data!

I suspect this part of the code:

while(!Serial.available());

Any clues ?

/Berra

Post the code and schematic.

The while(!Serial) line is not a problem - Serial is defined so it will just hop right over that.

That bit is there for compatibility with the Arduino Micro and Leonardo - until the computer connects to the native USB, there's no way for it to output serial. So to ensure that you don't miss the beginning of the serial output, that line waits until the computer has connected. That line has no effect on boards that don't have native USB (which is the case for the Uno, Nano, Pro Mini and many others).

Sorry for deley, I was hit by the flu, but I recovering now.

The code is here; mindwave_mobile_and_arduino [NeuroSky Developer - Docs]

I borrode a oscilloscope, and saw I this on the input. First pic is from the UNO, then the Pro Mini !!

I dont understand :confused:

/Bertil