Commit 3f311d97 authored by Daniel STAN's avatar Daniel STAN

kugel receiver sur diavolino

parent ef5bbd5b
No preview for this file type
......@@ -2,10 +2,10 @@
avec programme python coté port série*/
// Pin du recepteur Infrarouge
#define RECV_PIN 11
#define RECV_PIN 2
// Pin du rf
#define RF_PIN 10
#define RF_PIN 3
#include <IRLib.h>
#include <RCSwitch.h>
......@@ -99,11 +99,6 @@ void loop() {
todo_on = true;
else if(incomingByte == 'f')
todo_on = false;
else if(incomingByte == 'r') {
val = analogRead(3);
Serial.print("Current value: ");
Serial.println(val);
}
else if(incomingByte >= '1' && incomingByte <= '4')
todo_port = incomingByte - '0';
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment