undefined reference to sendNECMinimal #1092
Answered
by
ArminJo
TheRealDestroyer
asked this question in
Help
-
i am attempting to send an NEC code and i am getting this error.
my program is: #include <Arduino.h>
#include <TinyIR.h>
#include <IRremote.hpp>
IRsend irsend;
/*\ Variable Definition \*/
uint8_t Tran_Pin = 3;
uint8_t Address = 0x22;
uint8_t Command = 0x22;
/*\ Setup \*/
void setup(){
pinMode(LED_BUILTIN, OUTPUT);
Serial.begin(9600);
}
/*\ Main Body \*/
void loop() {
digitalWrite(Tran_Pin, HIGH);
sendNECMinimal(Tran_Pin, Address, Command, 0);
Serial.println("Sent NEC");
Serial.println("Pin: " Tran_Pin);
Serial.println("Address: " Address);
Serial.println("Command: " Command);
digitalWrite(Tran_Pin, LOW);
delay(500);
} i am using version 4.0.0 |
Beta Was this translation helpful? Give feedback.
Answered by
ArminJo
Feb 11, 2023
Replies: 1 comment 2 replies
-
Thanks for reporting. I extended the readme https://github.com/Arduino-IRremote/Arduino-IRremote#tiny-nec-receiver-and-sender |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
TheRealDestroyer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for reporting. I extended the readme https://github.com/Arduino-IRremote/Arduino-IRremote#tiny-nec-receiver-and-sender