Simple IR learning and transmitting for SparkCore