Skip to content
Snippets Groups Projects
Select Git revision
  • b1ed600e8cac6cb0f994468c4dd77c3e5bb7d55d
  • master default protected
  • develop protected
  • feature/use-nest3-dockerfile
  • configurable_address
  • 0.2.0
  • 0.1.0
7 results

brunel_simulation.py

Blame
  • IRReceiver.ino 266 B
    #include "ir_receiver.h"
    
    #define IR_PIN 46
    IrReceiver ir_sensor(IR_PIN);
    int command;
    
    void setup(){
        Serial.begin(115200);
        ir_sensor.begin();
    }
    
    void loop(){
      command = ir_sensor.receive_command();
      if (command != 0){
        Serial.println(command);
      }
    }