projects
/
Arduino
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4ab8c7
)
set number of repeats for 433 mhz RCSwitch
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 20 Jul 2015 16:24:49 +0000
(18:24 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 20 Jul 2015 16:24:49 +0000
(18:24 +0200)
rpi_promini/rpi_promini.ino
patch
|
blob
|
history
diff --git
a/rpi_promini/rpi_promini.ino
b/rpi_promini/rpi_promini.ino
index
d1395e4
..
73d3092
100644
(file)
--- a/
rpi_promini/rpi_promini.ino
+++ b/
rpi_promini/rpi_promini.ino
@@
-86,6
+86,7
@@
void setup() {
Serial.begin(9600);
mySwitch.enableReceive(0); // Receiver on inerrupt 0 => that is pin #2
mySwitch.enableTransmit(10); // with sender wired in receiving doesn't work, pin #10
+ mySwitch.setRepeatTransmit(repeat); // or change to be different for 433 and 315 MHz
// DS18B20
sensors.begin();