-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added roomba example gist and comment about max pulse frequency of 16…
…6khz.
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* Modified by Mitra Ardron <[email protected]> | ||
* Added Sanyo and Mitsubishi controllers | ||
* Modified Sony to spot the repeat codes that some Sony's send | ||
* Modified by Gaspard van Koningsveld to trim out IRrecv, simplify code, allow setting of IR LED pin, and make it compatible with the Spark Core v1.0 (STM32F103CB based) | ||
* Modified by Gaspard van Koningsveld to trim out IRrecv, not using PWM anymore, allow setting of IR LED pin, and make it compatible with the Spark Core v1.0 (STM32F103CB based) | ||
* | ||
* Interrupt code based on NECIRrcv by Joe Knapp | ||
* http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1210243556 | ||
|
@@ -278,6 +278,7 @@ void IRsend::space(int time) { | |
|
||
void IRsend::enableIROut(int khz) { | ||
// Enables IR output. The khz value controls the modulation frequency in kilohertz. | ||
// MAX frequency is 166khz. | ||
pinMode(irPin, OUTPUT); | ||
digitalWrite(irPin, LOW); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters