Photon and the PIN_MAP[] challenge!

How about this error I’m getting:

../../../build/target/user/platform-6/libuser.a(remocon.o): In function `pulseIn(unsigned short, unsigned char)':
remocon.cpp:70: undefined reference to `GPIO_ReadInputDataBit'
remocon.cpp:77: undefined reference to `GPIO_ReadInputDataBit'

Trying to get a pulseIn() equivalent function to work on the Photon. Would be nice to have the photon library contemplating this at some point…