text: #include <stdio.h>
  #include "irslinger.h"
  
  int main(int argc, char *argv[])
  {
  	uint32_t outPin = 18;            // The Broadcom pin number the signal will be sent on
  	int frequency = 38000;          // The frequency of the IR signal in Hz
  	double dutyCycle = 0.5;         // The duty cycle of the IR signal. 0.5 means for every cycle,
  	                                // the LED will turn on for half the cycle time, and off the other half
  	int x = 775;
  	int y = 1550;
  	int codes[] = {
  		x, x, y, x, x, x, x, x, x, x, x, y, y, x, x, y, x, x, y, x, x};
  
  	int result = irSlingRaw(
  		outPin,
  		frequency,
  		dutyCycle,
  		codes,
  		sizeof(codes) / sizeof(int));
  	
  	return result;
  }
  