working on renaming files

added test.sh
This commit is contained in:
Rafi Khan
2017-04-22 23:25:11 -06:00
parent f1eac2e094
commit e308165190
38 changed files with 80 additions and 72 deletions

View File

@@ -6,7 +6,7 @@
* http://arcfn.com
*/
#include "IRremote.h"
#include <InfraredRemote.h>
#define POWER 0x7F80
#define AIWA_RC_T501

View File

@@ -15,7 +15,7 @@
* http://arcfn.com
*/
#include <IRremote.h>
#include <InfraredRemote.h>
int RECV_PIN = 11;
int BUTTON_PIN = 12;

View File

@@ -6,7 +6,7 @@
* http://arcfn.com
*/
#include <IRremote.h>
#include <InfraredRemote.h>
int RECV_PIN = 11;

View File

@@ -8,7 +8,7 @@
* LG added by Darryl Smith (based on the JVC protocol)
*/
#include <IRremote.h>
#include <InfraredRemote.h>
/*
* Default is Arduino pin D11.

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// Include the IRremote library header
//
#include <IRremote.h>
#include <InfraredRemote.h>
//------------------------------------------------------------------------------
// Tell IRremote which Arduino pin is connected to the IR Receiver (TSOP4838)

View File

@@ -6,7 +6,7 @@
* http://arcfn.com
*/
#include <IRremote.h>
#include <InfraredRemote.h>
int RECV_PIN = 11;
int RELAY_PIN = 4;

View File

@@ -11,7 +11,7 @@
*/
#include <IRremote.h>
#include <InfraredRemote.h>
void setup()
{

View File

@@ -7,7 +7,7 @@
*/
#include <IRremote.h>
#include <InfraredRemote.h>
IRsend irsend;

View File

@@ -18,7 +18,7 @@
*/
#include <IRremote.h>
#include <InfraredRemote.h>
IRsend irsend;

View File

@@ -9,7 +9,7 @@
* the arduino IDE.
*/
#include <IRremote.h>
#include <InfraredRemote.h>
#include <IRremoteInt.h>
// Dumps out the decode_results structure.

View File

@@ -25,7 +25,7 @@
* http://arcfn.com
*/
#include <IRremote.h>
#include <InfraredRemote.h>
int RECV_PIN = 11;
int LED_PIN = 3;

View File

@@ -6,7 +6,7 @@
* http://arcfn.com
* JVC and Panasonic protocol added by Kristian Lauszus (Thanks to zenwheel and other people at the original blog post)
*/
#include <IRremote.h>
#include <InfraredRemote.h>
#define PanasonicAddress 0x4004 // Panasonic address (Pre data)
#define PanasonicPower 0x100BCBD // Panasonic Power button

View File

@@ -1,4 +1,4 @@
#include <IRremote.h>
#include <InfraredRemote.h>
#include <Wire.h>

View File

@@ -3,7 +3,7 @@
* Copyright (c) 2016 Philipp Henkel
*/
#include <IRremote.h>
#include <InfraredRemote.h>
#include <IRremoteInt.h>
IRsend irsend;

View File

@@ -20,8 +20,8 @@
// Defining IR_GLOBAL here allows us to declare the instantiation of global variables
#define IR_GLOBAL
# include "IRremote.h"
# include "IRremoteInt.h"
# include "InfraredRemote.h"
# include "lib/InfraredRemoteInt.h"
#undef IR_GLOBAL
#ifndef IR_TIMER_USE_ESP32

View File

@@ -21,7 +21,7 @@
//------------------------------------------------------------------------------
// The ISR header contains several useful macros the user may wish to use
//
#include "IRremoteInt.h"
#include "lib/InfraredRemoteInt.h"
//------------------------------------------------------------------------------
// Supported IR protocols

View File

@@ -17,7 +17,7 @@
void mark (int t) { printf("+%d," , t); }
void space (int t) { printf("-%d, ", t); }
#else
# include "IRremote.h"
# include "InfraredRemote.h"
#endif // TEST
//+=============================================================================
@@ -238,7 +238,7 @@ int main ( )
#include <stdio.h>
#define IRPRONTO
#include "IRremoteInt.h" // The Arduino IRremote library defines USECPERTICK
#include "lib/InfraredRemoteInt.h" // The Arduino IRremote library defines USECPERTICK
//------------------------------------------------------------------------------
// Source: https://www.google.co.uk/search?q=DENON+MASTER+IR+Hex+Command+Sheet

View File

@@ -1,10 +1,10 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#ifdef IR_TIMER_USE_ESP32
hw_timer_t *timer;
void IRTimer(); // defined in IRremote.cpp
#endif
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
#ifdef IR_TIMER_USE_ESP32
hw_timer_t *timer;
void IRTimer(); // defined in IRremote.cpp
#endif
//+=============================================================================
// Decodes the received IR message
@@ -122,17 +122,17 @@ IRrecv::IRrecv (int recvpin, int blinkpin)
//
void IRrecv::enableIRIn ( )
{
// Interrupt Service Routine - Fires every 50uS
#ifdef ESP32
// ESP32 has a proper API to setup timers, no weird chip macros needed
// simply call the readable API versions :)
// 3 timers, choose #1, 80 divider nanosecond precision, 1 to count up
timer = timerBegin(1, 80, 1);
timerAttachInterrupt(timer, &IRTimer, 1);
// every 50ns, autoreload = true
timerAlarmWrite(timer, 50, true);
timerAlarmEnable(timer);
#else
// Interrupt Service Routine - Fires every 50uS
#ifdef ESP32
// ESP32 has a proper API to setup timers, no weird chip macros needed
// simply call the readable API versions :)
// 3 timers, choose #1, 80 divider nanosecond precision, 1 to count up
timer = timerBegin(1, 80, 1);
timerAttachInterrupt(timer, &IRTimer, 1);
// every 50ns, autoreload = true
timerAlarmWrite(timer, 50, true);
timerAlarmEnable(timer);
#else
cli();
// Setup pulse clock timer interrupt
// Prescale /8 (16M/8 = 0.5 microseconds per tick)
@@ -146,7 +146,7 @@ void IRrecv::enableIRIn ( )
TIMER_RESET;
sei(); // enable interrupts
#endif
#endif
// Initialize state machine variables
irparams.rcvstate = STATE_IDLE;

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//+=============================================================================
void IRsend::sendRaw (const unsigned int buf[], unsigned int len, unsigned int hz)

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// AAA IIIII W W AAA

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
// Reverse Engineered by looking at RAW dumps generated by IRremote

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// DDDD IIIII SSSS H H

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// JJJJJ V V CCCC

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// L GGGG

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
#include "ir_Lego_PF_BitStreamEncoder.h"
//==============================================================================

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// MMMMM IIIII TTTTT SSSS U U BBBB IIIII SSSS H H IIIII

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// N N EEEEE CCCC

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// PPPP AAA N N AAA SSSS OOO N N IIIII CCCC

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//+=============================================================================
// Gets one undecoded level at a time from the raw buffer.

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// SSSS AAA MMM SSSS U U N N GGGG

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// SSSS AAA N N Y Y OOO

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// SSSS H H AAA RRRR PPPP

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// SSSS OOO N N Y Y

View File

@@ -91,8 +91,8 @@ Regards,
BlueChip
*/
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
//

View File

@@ -1,5 +1,5 @@
#include "IRremote.h"
#include "IRremoteInt.h"
#include "InfraredRemote.h"
#include "lib/InfraredRemoteInt.h"
//==============================================================================
// W W H H Y Y N N TTTTT EEEEE RRRRR

8
test.sh Normal file
View File

@@ -0,0 +1,8 @@
PLATFORMIO_CI_SRC=examples/AiwaRCT501SendDemo python2 -m platformio ci --lib="." --board=uno
PLATFORMIO_CI_SRC=examples/IRrecord python2 -m platformio ci --lib="." --board=uno
PLATFORMIO_CI_SRC=examples/IRrecvDemo python2 -m platformio ci --lib="." --board=uno
PLATFORMIO_CI_SRC=examples/IRrecvDumpV2 python2 -m platformio ci --lib="." --board=uno
PLATFORMIO_CI_SRC=examples/IRrelay python2 -m platformio ci --lib="." --board=uno
PLATFORMIO_CI_SRC=examples/IRremoteInfo python2 -m platformio ci --lib="." --board=uno
PLATFORMIO_CI_SRC=examples/IRsendDemo python2 -m platformio ci --lib="." --board=uno
PLATFORMIO_CI_SRC=examples/IRsendRawDemo python2 -m platformio ci --lib="." --board=uno