Problem with Arduino Micro

I am using Fingerprint Sensor (GT-511C3)....
The very first example of FPS_Blink works well with ARDUINO UNO but the same doesn't works with ARDUINO MICRO.

Please Help, any suggestions about why is this happening ?
The circuit i used is correct as it works with UNO but not with MICRO...

The very first example of FPS_Blink

Please post a link to the library.

What version of the IDE?

Where is the code you are experiencing the problem with?

Where is a schematic of wiring?

When you say "it doesn't work" that means nothing. Do you get an error message at any point? If so, please include the full text of any and all error messages. Does it upload, but not behave correctly? What does it do, vs what is it supposed to do?

Without more information, there isn't much we can do to help...

IDE version 1.6.9

code is :
#include "FPS_GT511C3.h"
#include "SoftwareSerial.h"

// Hardware setup - FPS connected to:
// digital pin 4(arduino rx, fps tx)
// digital pin 5(arduino tx - 560ohm resistor - fps tx - 1000ohm resistor - ground)
// this voltage divider brings the 5v tx line down to about 3.2v so we dont fry our fps

FPS_GT511C3 fps(4, 5);

void setup()
fps.UseSerialDebug = true; // so you can see the messages in the serial debug screen

void loop()
// FPS Blink LED Test

Link to the library :

There is no problem in uploading the code.
But no results on MICRO but it works well with UNO...


Try this - on the Leo/Micro, you need to wait for the USB serial port to get itself sorted out before you start using it.

void setup()
  Serial.begin(9600);while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB
  fps.UseSerialDebug = true; // so you can see the messages in the serial debug screen

I don't see anything else that looks suspect at first glance...

This what i got on serial monitor :
FPS - Open
FPS - SEND: "55 AA 01 00 00 00 00 00 01 00 01 01"

Is that different from what you got before? What is the expected output?

Do you have it connected correctly? I ask because neither of your two wiring diagrams depict a Micro - both show an Uno, and the two boards have different pins available...

I have connected it as the code says and as in the diagram too...
I am worried about the volt level on which micro works...
According to the code the LED on the sensor should glow which is not happening with the Micro....

SoftwareSerial RX must be on a pin that supports PCINTs (Pin Change Interrupts).
On an Uno any digital pin works, but on a Micro only pins 8 to 11 and the SPI pins.

A nice pinout diagram for the Micro: