OK Tried that
BTW - just FYI my app main app compiles fine without this library.
Added #include “Particle.h” in first line of OB_LED_Flasher_IV.h
and:
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_White_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:62: multiple definition of `LED_Blinker(int, int, int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:62: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_reset(int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:86: multiple definition of `LED_Red_Flash(int, int, int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:86: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_Green_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:98: multiple definition of `LED_Green_Flash(int, int, int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:98: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_Blue_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:109: multiple definition of `LED_Blue_Flash(int, int, int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:109: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_Yellow_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:120: multiple definition of `LED_Yellow_Flash(int, int, int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:120: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_Orange_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:131: multiple definition of `LED_Orange_Flash(int, int, int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:131: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_Cyan_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:142: multiple definition of `LED_Cyan_Flash(int, int, int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:142: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_Magenta_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:153: multiple definition of `LED_Magenta_Flash(int, int, int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:153: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_White_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:164: multiple definition of `LED_White_Flash(int, int, int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:164: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_Rainbow_Flash(int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:178: multiple definition of `LED_Rainbow_Flash(int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:178: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_reset(int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:210: multiple definition of `LED_reset(int, int)'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:210: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_White_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:62: multiple definition of `bright1'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):/spark/compile_service/shared/workspace/6_photon_0.6.1_105_4/firmware/user/../wiring/inc/spark_wiring_cloud.h:231: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_White_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:62: multiple definition of `countr2'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):/spark/compile_service/shared/workspace/6_photon_0.6.1_105_4/firmware/user/../wiring/inc/spark_wiring_cloud.h:231: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_White_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:62: multiple definition of `countr'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):/spark/compile_service/shared/workspace/6_photon_0.6.1_105_4/firmware/user/../wiring/inc/spark_wiring_cloud.h:231: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_White_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:62: multiple definition of `count'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):/spark/compile_service/shared/workspace/6_photon_0.6.1_105_4/firmware/user/../wiring/inc/spark_wiring_cloud.h:231: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_White_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:62: multiple definition of `lblue'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):/spark/compile_service/shared/workspace/6_photon_0.6.1_105_4/firmware/user/../wiring/inc/spark_wiring_cloud.h:231: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_White_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:62: multiple definition of `lgreen'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):/spark/compile_service/shared/workspace/6_photon_0.6.1_105_4/firmware/user/../wiring/inc/spark_wiring_cloud.h:231: first defined here
../../../build/target/user/platform-6/libuser.a(OB_LED_Flasher_IV.o): In function `LED_White_Flash(int, int, int, int)':
lib/OB_LED_Flasher_IV/src/OB_LED_Flasher_IV.h:62: multiple definition of `lred'
../../../build/target/user/platform-6/libuser.a(doorpropalert04.o):/spark/compile_service/shared/workspace/6_photon_0.6.1_105_4/firmware/user/../wiring/inc/spark_wiring_cloud.h:231: first defined here
collect2: error: ld returned 1 exit status
make: *** [b0e55400eedcc10541f89bfac63985d192259496937f2ccf847c3b3c1c8e.elf] Error 1