Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Teensy LC Keypad and Servo Library Issue

  1. #1

    Teensy LC Keypad and Servo Library Issue

    Hi all,

    I rather new to Teensy LC and am encountering an error stating that:
    Code:
    Multiple libraries were found for "Keypad.h"
     Used: /Users/myuser/Documents/Arduino/libraries/Keypad
     Not used: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/Keypad
    Multiple libraries were found for "Servo.h"
     Used: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/Servo
     Not used: /Applications/Arduino.app/Contents/Java/libraries/Servo
    Error compiling for board Teensy LC.
    I initially was testing my code on an Arduino Mega 2560 and the code ran perfectly fine, but now as I am transfering it over to the Teensy, it am not getting those error messages.

    I then downloaded a servo and keypad library by going to sketch->include library-> manage library and then added them that way.

    Any clue what's going on?

    Any advice would be amazing! Thanks in advance!

  2. #2
    Member garubi's Avatar
    Join Date
    Sep 2016
    Location
    Modena, Italy, EU
    Posts
    43

    Lightbulb

    Quote Originally Posted by LunarEclipse57 View Post
    Hi all,

    I rather new to Teensy LC and am encountering an error stating that:
    Code:
    Multiple libraries were found for "Keypad.h"
     Used: /Users/myuser/Documents/Arduino/libraries/Keypad
     Not used: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/Keypad
    Multiple libraries were found for "Servo.h"
     Used: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/Servo
     Not used: /Applications/Arduino.app/Contents/Java/libraries/Servo
    Error compiling for board Teensy LC.
    I initially was testing my code on an Arduino Mega 2560 and the code ran perfectly fine, but now as I am transfering it over to the Teensy, it am not getting those error messages.

    I then downloaded a servo and keypad library by going to sketch->include library-> manage library and then added them that way.

    Any clue what's going on?

    Any advice would be amazing! Thanks in advance!
    I get the "Multiple libraries were found for.." error all the times I compile a sketch without disabling "real time" protection in the PC's antivirus: it doesn't allows some temp file's rewriting thus the error.
    Maybe you too have something like that running...

  3. #3
    Thank you for your reply. I was able to get it working by downloading a separate library specifically for Teensy for the keypad. It seems to be working now!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •