Skip to content

Add 4 additional Aura LED colors introduced in R503 Pro Sensor #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

subramanian-elavathur
Copy link

Describe the scope of your change

This PR adds a few more colors to the Aura LED on the R503 Pro Sensor. It adds 4 new constants to Adafruit_Fingerprint.h file.

See documentation screenshot below for reference:

image

https://uelectronics.com/wp-content/uploads/2022/06/R503-fingerprint-module-user-manual-V1.2.1.pdf (Page 31)

Describe any known limitations with your change

New colors are applicable to the latest R503 Pro sensor

Please run any tests or examples that can exercise your modified code

See video below showcasing the 4 new colors (Green, Yellow, Cyan, White) cycling through after the 3 original colors (Red, Blue, Purple).

IMG_5411.MOV

Sample Code

finger.LEDcontrol(FINGERPRINT_LED_ON, 1000, FINGERPRINT_LED_RED);
delay(1000);
finger.LEDcontrol(FINGERPRINT_LED_ON, 1000, FINGERPRINT_LED_BLUE);
delay(1000);
finger.LEDcontrol(FINGERPRINT_LED_ON, 1000, FINGERPRINT_LED_PURPLE);
delay(1000);
finger.LEDcontrol(FINGERPRINT_LED_ON, 1000, FINGERPRINT_LED_GREEN);
delay(1000);
finger.LEDcontrol(FINGERPRINT_LED_ON, 1000, FINGERPRINT_LED_YELLOW);
delay(1000);
finger.LEDcontrol(FINGERPRINT_LED_ON, 1000, FINGERPRINT_LED_CYAN);
delay(1000);
finger.LEDcontrol(FINGERPRINT_LED_ON, 1000, FINGERPRINT_LED_WHITE);
delay(1000);

This PR adds a few more colors to the Aura LED on the R503 Pro Sensor.

See documentation screenshot below for reference:

https://uelectronics.com/wp-content/uploads/2022/06/R503-fingerprint-module-user-manual-V1.2.1.pdf (Page 31)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant