Skip to content

slawekkolodziej/irremote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IRRemote for esp-open-rtos

Super simple IRRemote module for esp-open-rtos.

Usage

  1. Put this directory in the lib directory of your project, then in your Makefile:

    EXTRA_COMPONENTS = extras/other_module lib/irremote
    
  2. Then in your code, use it like this:

    // Enable GPIO pin and turn it off
    gpio_enable(GPIO_IR_PIN, GPIO_OUTPUT);
    gpio_write(GPIO_IR_PIN, 0);
    
    // Set the GPIO pin
    ir_set_pin(GPIO_IR_PIN);
    
    // Send raw message
    ir_send_raw(BUFFER, BUFFER_SIZE, 38);
    

Releases

No releases published

Packages

No packages published