/* request to send */
clock_lo();
- data_lo();
_delay_us(100);
/* start bit [1] */
+ data_lo();
clock_hi();
WAIT(clock_lo, 15000, 1);
/* data [2-9] */
return 1;
ERROR:
+ /* inhibit device to send */
+ data_hi();
+ clock_lo();
return 0;
}
return data;
ERROR:
+ /* inhibit device to send */
+ data_hi();
+ clock_lo();
return 0;
}