Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 449 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 449 Bytes

IRRemote for Particle Photon

This is an IRremote-compatible library designed for use with Particle (Spark) Core or Photon. The library supports sending only raw buffers.

Usage:

#include "IRremote.h"

unsigned int rawCode[] = { 9000, 4500, 560, 1680 };

IRsend irsend(D3);

void loop() {
    int rawSize = sizeof(rawCode)/sizeof(unsigned int);
    irsend.sendRaw(rawCode, rawSize, 38);
}