Fingerprint module and arduino using adafruit library

Hey, how is it going?

Im using the fingerprint module r305 with adafruit's library to deal with fingerprints.

Using the software for windows all works fine but when I use the arduino examples something seem to be wrong with the serial communication.

First of all, I had to use arduino 1.0.6 IDE otherwise it didnt recognize the module.

Second, different from the example given at adafruits website (link below), I had to use # before the number so it gets the ID im trying to access (at enroll and delete examples)

The thing is, it almost always gets the wrong number. Almost all times, the first id I try to access doesnt work and it gives me the 0 position, for example, when I use the enroll example, I get the text

"
fingertest
Found fingerprint sensor
Type in the #id you want to save this finger as...
"

Then I type any number, like #5, and I get

"
Enrolling id #0
Waiting for a valid finger to enroll
"

And it does enroll the finger at the 0 position. After that, the id is always 1 behind (for the text that appears and the actual position that it enrolls), if I type #6 it enrolls at 5, and then if I type #10, for example, it enrolls at 6.

If I type and send a number without # and seems to put that together with the next number with #, for example, I type 6 and send, nothing happens, then #5 and send, it enrolls the id #65

I have no idea what can be the reason for that, thoughts?

Well, actualy Ive paid a little more attention to the image of the tutorial and and if I change from the default "no line ending" to "carriage return" it works perfectly.

Sorry for posting =(