From 46a6fafebf5c7b9c2be5fd0df01ea53967b956ca Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Wed, 14 Dec 2011 14:26:28 +0000 Subject: [PATCH] fixed inverted signal --- rf433rcv/teensy/example.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rf433rcv/teensy/example.c b/rf433rcv/teensy/example.c index 36d1b47..fdc8980 100644 --- a/rf433rcv/teensy/example.c +++ b/rf433rcv/teensy/example.c @@ -162,9 +162,9 @@ ISR(TIMER0_COMPA_vect) { if ( rf_send_buffer[rf_send_buf_pos/8] & (1<< (rf_send_buf_pos%8))) { - PORTF&=~1; - } else { PORTF|=1; + } else { + PORTF&=~1; } //rf_send_buffer[rf_send/8]>>=1; rf_send_buf_pos++; -- 1.7.10.4