Mods to OneWire library for alarm search

I've made a few modifications to the OneWire library in order to enable the alarm search feature.

Usage:
...
#include <OneWire.h>
OneWire ow(2); // 1-Wire DQ to pin 2
ow.reset_search();
ow.search(addr, 1); // search for devices in alarm (use 0 or leave blank for normal search)
...

The modifications are as follows:
OneWire.h line 89:
00000089 uint8_t search(uint8_t *newAddr, uint8_t alarm = 0);

OneWire.cpp lines 242-249:
00000239 if ( searchExhausted) return 0;
00000240
00000241 if ( !reset()) return 0;
00000242 if (alarm)
00000243 {
00000244 write(0xEC, 0);
00000245 }
00000246 else
00000247 {
00000248 write( 0xf0, 0);
00000249 }
00000250
00000251 for( i = 0; i < 64; i++) {

Does anyone else find this useful?

Rx