diff options
Diffstat (limited to 'sensor.c')
-rw-r--r-- | sensor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ int main() { if (last_state == digitalRead(9)) continue; if (last_state == 1) { - if ((bit >= 0) && (cycles>150)) + if ((bit >= 0) && (cycles>300)) data[bit / 8] |= 1 << 7 - (bit % 8); bit++; } |