/
singlwolf
/
Radiola-2S3
Обзор
Документация
Войти
/
singlwolf
/
Radiola-2S3
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Radiola-2S3
/
lib
/
IRremote
/
..
examples
Public access
5 месяцев назад
pictures
Public access
5 месяцев назад
src
Public access
5 месяцев назад
.gitignore
Public access
5 месяцев назад
Contributing.md
Public access
5 месяцев назад
Contributors.md
Public access
5 месяцев назад
Doxyfile
Public access
5 месяцев назад
LICENSE
Public access
5 месяцев назад
README.md
Public access
5 месяцев назад
changelog.md
Public access
5 месяцев назад
keywords.txt
Public access
5 месяцев назад
library.json
Public access
5 месяцев назад
library.properties
Public access
5 месяцев назад
Arduino IRremote
If you find this program useful, please give it a star.
Table of content
Supported IR Protocols
Common problem with IRremote
Using the new library version for old examples
New features of version 4.5
New features of version 4.x
Converting your 3.x program to the 4.x version
New features of version 3.x
Converting your 2.x program to the 4.x version
Example
Old 2.x program:
New 4.x program:
Sample output
How to convert old MSB first 32 bit IR data codes to new LSB first 32 bit IR data codes
Nibble reverse
Nibble reverse map
Binary string reverse
Online tool which reverses every byte, but not the order of the bytes
Send MSB directly
Errors when using the 4.x versions for old tutorials
Staying on 2.x
Drawbacks of using 2.x
Why .hpp instead of .cpp?
Using the new .hpp files
Tutorials
3 ways to specify an IR code
1. Timing
2. Encoding schemes
3. Protocols
IRReceiver pinouts
Receiving IR codes
decodedIRData structure
Flags
To access the RAW data, use:
Print all fields:
Print the raw timing data received:
Print how to send the received data:
Ambiguous protocols
NEC, Extended NEC, ONKYO
NEC, NEC2
Samsung, SamsungLG
RAM usage of different protocols
Handling unknown Protocols
Disclaimer
Other libraries, which may cover these protocols
IRMP
IRremoteESP8266
rawirdecode and HeatpumpIR
Protocol=PULSEDISTANCE
Protocol=UNKNOWN
How to deal with protocols not supported by IRremote
Sending IR codes
Sending UNKNOWN protocol
Sending IRDB IR codes
Send pin
Polarity of send pin
List of public IR code databases
Flipper Zero
Tiny NEC receiver and sender
Principle of operation
TinyIRReceiver usage
TinyIRSender usage
The FAST protocol
FAST protocol characteristics:
Sending FAST protocol with IRremote
Sending FAST protocol with TinyIRSender
FAQ and hints
Receiving stops after analogWrite() or tone() or after running a motor.
Receiving sets overflow flag.
Problems with Neopixels, FastLed etc.
Does not work/compile with another library
Multiple IR receivers
Multiple IR sender instances
Increase strength of sent output signal
Simulate an IR receiver module
Minimal CPU clock frequency
Bang & Olufsen protocol
Examples for this library
SimpleReceiver + SimpleSender
SimpleReceiverForHashCodes
TinyReceiver + TinySender
SmallReceiver
ReceiveDemo + AllProtocolsOnLCD
ReceiveDump
SendDemo
MultipleSendPins
SendAndReceive
ReceiveAndSend
ReceiveAndSendDistanceWidth
ReceiveOneAndSendMultiple
IRDispatcherDemo
ControlRelay
IRremoteExtensionTest
SendLGAirConditionerDemo
ReceiveAndSendHob2Hood
ReceiverTimingAnalysis
UnitTest
WOKWI online examples
IR control of a robot car
Issues and discussions
Compile options / macros for this library
Changing include (.h) files with Arduino IDE
Modifying compile options / macros with PlatformIO
Modifying compile options / macros with Sloeber IDE
Supported Boards
Timer and pin usage
No timer required for sending
Incompatibilities to other libraries and Arduino commands like tone() and analogWrite()
Use NEC protocol and TinyReceiver
Change timer
Stop and start timer
Hardware-PWM signal generation for sending
Why do we use 30% duty cycle for sending
How we decode signals
NEC encoding diagrams
Quick comparison of 5 Arduino IR receiving libraries
History
Useful links
Contributors
License
Copyright
README.md