удалила лишнее, протестировала
This commit is contained in:
1 parent
e7df17c21e
commit
085021b2f7
10 files changed
+87
-277
No files matched your search
@@ -67,11 +67,18 @@
|
||||
/*
|
||||
* This include defines the actual pin number for pins like IR_RECEIVE_PIN, IR_SEND_PIN for many different boards and architectures
|
||||
*/
|
||||
#include "PinDefinitionsAndMore.h"
|
||||
// #include "PinDefinitionsAndMore.h"
|
||||
#include <IRremote.hpp> // include the library
|
||||
|
||||
#if !defined(STR_HELPER)
|
||||
#define STR_HELPER(x) #x
|
||||
#define STR(x) STR_HELPER(x)
|
||||
#endif
|
||||
|
||||
#define IR_RECEIVE_PIN 2
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
Serial.begin(9600);
|
||||
while (!Serial)
|
||||
; // Wait for Serial to become available. Is optimized away for some cores.
|
||||
|
||||
|
||||
Reference in new issue
Block a user