hello i have a problem with my program
i use this code
#include <ConfigurableFirmata.h>
#include <DeviceFirmata.h>
#include <FirmataExt.h>
#include <FirmataFeature.h>
#include <deprecated.h>
#include <MFRC522.h>
#include <MFRC522Extended.h>
#include <require_cpp11.h>
#include <IRremote.h>
IRsend irsend;
#include <deprecated.h>
#include <MFRC522.h>
#include <MFRC522Extended.h>
#include <require_cpp11.h>
#define SS_PIN 10
#define RST_PIN 9
#define IR_PIN 7
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance.
void setup() {
// put your setup code here, to run once:
Serial.begin(9600); // Initiate a serial communication
mfrc522.PCD_Init(); // Initiate MFRC522
}
void loop()
{
// Look for new cards
if ( ! mfrc522.PICC_IsNewCardPresent())
{
return;
}
// Select one of the cards
if ( ! mfrc522.PICC_ReadCardSerial())
{
return;
}
//Show UID on serial monitor
Serial.print("UID tag :");
String content = "";
byte letter;
for (byte i = 0; i < mfrc522.uid.size; i++)
{
Serial.print(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " ");
Serial.print(mfrc522.uid.uidByte[i], HEX);
content.concat(String(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " "));
content.concat(String(mfrc522.uid.uidByte[i], HEX));
}
Serial.println();
Serial.print("Message : ");
content.toUpperCase();
if (content.substring(1) == "59 7A 86 6D") //change here the UID of the card/cards that you want to give access 5A2131DF
{
Serial.println("Authorized access");
Serial.println();
delay(500);
}
delay(1000);
//Power//
irsend.sendNEC(0x5A2131DF, 32); //Power Code
Serial.println("Power");
delay(33000);
}
And give me this error:
In file included from C:\Users\staur\OneDrive\Documents\Arduino\sketch_oct25a\sketch_oct25a.ino:2:0:
C:\Users\staur\OneDrive\Documents\Arduino\libraries\FirmataWithDeviceFeature\src/DeviceFirmata.h:6:21: fatal error: LuniLib.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno. :o
what do i want to do?
i am trying to learn about arduino ![]()
but now i'm trying to:
when i put my card in mfrc522 it sends a code from "Ir" to my tv and if i leave the
card there for i just want to send the same code once again after 33 seconds
Really sorry for my english and thank you very much for your time