Skip to content
Snippets Groups Projects
Select Git revision
  • fca0499fe3188a57bc751e4e579d16fe72615bdc
  • master default protected
  • feature/refactor
  • 4.24
  • develop
  • Rendering
  • temp-optix-6
7 results

TextureMaterial.uasset

Blame
  • IRReceiver.ino 297 B
    #include "thk_ir_controller.h"
    
    const uint8_t IR_PIN = 46;
    thk_IrController ir_sensor(IR_PIN);
    uint8_t command;
    
    void setup(){
        Serial.begin(115200);
        ir_sensor.begin(IR_PIN);
    }
    
    void loop(){
      command = ir_sensor.receive_command();
      if (command != 0){
        Serial.println(command);
      }
    }