Does anyone have working SR04 Ping Sensor on Arduino 101?

Hey AVR programmers.
Here try to download this and work SR04 Ping Sensor

This works only Arduino. Not 101. Why not?

Arduino 101 is not an AVR processor. It has a Curie

This is definitely the problem and awhile back i dug into the new ping code and found that it is taking advantage of the some the avr timer’s, and therefore is “hardcoded” to the avr.

Perhaps someone will take the time time to rewrite the code with cuire timers . . .