Skip to content

Commit 02ee783

Browse files
committed
Documentation
1 parent 8007e65 commit 02ee783

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ ReceiveDemo + SendDemo in one program. Receiving while sending.
101101
Record and play back last received IR signal at button press.
102102

103103
### MinimalReceiver + SmallReceiver
104-
If code size matters look at these examples.
104+
If code size matters, look at these examples.
105105

106106
### IRDispatcherDemo
107107
Framework for calling different functions for different IR codes.
@@ -164,6 +164,12 @@ The receiver sample interval is generated by a timer. On many boards this must b
164164
Every pin can be used for receiving.<br/>
165165
The send PWM signal is by default generated by software. **Therefore every pin can be used for sending**.
166166

167+
| Software generated PWM showing discontinuities in the Arduino core micros() function | Zoom into the discontinuity. The space is once too short but compensated at the next one |
168+
|-|-|
169+
| ![Software PWM](https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/pictures/IR_PWM_by_software.png) | ![Software PWM detail](https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/pictures/IR_PWM_by_software_zoom.png) |
170+
| Software generated PWM (ATmega328) with 33% Duty cycle | |
171+
| ![Software PWM detail](https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/pictures/IR_PWM_by_software_detail.png) | |
172+
167173
## Hardware-PWM signal generation for sending
168174
If you define `SEND_PWM_BY_TIMER`, the send PWM signal is generated by a hardware timer. The same timer as for the receiver is used.
169175
Since each hardware timer has its dedicated output pins, you must change timer to change PWN output.<br/>

pictures/IR_PWM_by_software.png

23.9 KB
Loading
19.6 KB
Loading
20 KB
Loading

0 commit comments

Comments
 (0)