Skip to content

Instantly share code, notes, and snippets.

@kylefmohr
Created December 25, 2023 03:31
Show Gist options
  • Select an option

  • Save kylefmohr/b5e3287d9df5e6ed1922dfa2ca795cf5 to your computer and use it in GitHub Desktop.

Select an option

Save kylefmohr/b5e3287d9df5e6ed1922dfa2ca795cf5 to your computer and use it in GitHub Desktop.

Revisions

  1. kylefmohr created this gist Dec 25, 2023.
    61 changes: 61 additions & 0 deletions UNICROWN_DreamColor_5050_RGB_IR_Codes.cpp
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,61 @@
    /*
    Automatically Generated by AnalysIR - Batch Export Utility
    Registered to: kyle
    Session History: Remote Control Infrared Codes for UNICROWN DreamColor 5050 RGB LED Strip Lights Remote Control
    Type : Key : Value : Bits : Carrier Frequency (kHz)
    0 : NEC : 4 : 00FF28D7 : 32 : 40
    1 : NEC : 3 : 00FFC837 : 32 : 40
    2 : NEC : 2 : 00FF8877 : 32 : 40
    3 : NEC : 1 : 00FF08F7 : 32 : 31
    4 : NEC : 8 Hours : 00FF02FD : 32 : 40
    5 : NEC : 4 Hours : 00FFEC13 : 32 : 40
    6 : NEC : 2 Hours : 00FF14EB : 32 : 40
    7 : NEC : 1 Hour : 00FF44BB : 32 : 28
    8 : NEC : Jump7 : 00FFC03F : 32 : 0
    9 : NEC : Fade7 : 00FF609F : 32 : 0
    10 : NEC : Fade3 : 00FFA05F : 32 : 0
    11 : NEC : Jump3 : 00FF40BF : 32 : 0
    12 : NEC : Purple : 00FF847B : 32 : 0
    13 : NEC : Teal : 00FF04FB : 32 : 0
    14 : NEC : Yellow : 00FF48B7 : 32 : 0
    15 : NEC : Blue : 00FFE41B : 32 : 0
    16 : NEC : White : 00FF649B : 32 : 0
    17 : NEC : RED : 00FFE01F : 32 : 0
    18 : NEC : Bright- : 00FF6C93 : 32 : 29
    19 : NEC : Green : 00FF20DF : 32 : 28
    20 : NEC : Bright+ : 00FF807F : 32 : 0
    21 : NEC : Power : 00FF4CB3 : 32 : 0
    22 : NEC : AUTO : 00FF8C73 : 32 : 0
    23 : NEC : Slow : 00FFA45B : 32 : 0
    24 : NEC : QUICK : 00FF9867 : 32 : 44
    Note: Be sure to use the correct Carrier frequency, for each individual signal, as(or if) indicated above
    */

    // NB: Not all protocols are supported by IRremote or IRLib. You may need to edit the code below manually
    // Automatically Generated by AnalysIR for kyle visit https://www.AnalysIR.com/ or email info@....... for further details
    int khz=38; //NB Change this default value as necessary to the correct carrier frequency
    irsend.sendNEC(0x00FF28D7, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: 4
    irsend.sendNEC(0x00FFC837, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: 3
    irsend.sendNEC(0x00FF8877, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: 2
    irsend.sendNEC(0x00FF08F7, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: 1
    irsend.sendNEC(0x00FF02FD, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: 8 Hours
    irsend.sendNEC(0x00FFEC13, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: 4 Hours
    irsend.sendNEC(0x00FF14EB, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: 2 Hours
    irsend.sendNEC(0x00FF44BB, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: 1 Hour
    irsend.sendNEC(0x00FFC03F, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Jump7
    irsend.sendNEC(0x00FF609F, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Fade7
    irsend.sendNEC(0x00FFA05F, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Fade3
    irsend.sendNEC(0x00FF40BF, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Jump3
    irsend.sendNEC(0x00FF847B, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Purple
    irsend.sendNEC(0x00FF04FB, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Teal
    irsend.sendNEC(0x00FF48B7, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Yellow
    irsend.sendNEC(0x00FFE41B, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Blue
    irsend.sendNEC(0x00FF649B, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: White
    irsend.sendNEC(0x00FFE01F, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: RED
    irsend.sendNEC(0x00FF6C93, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Bright-
    irsend.sendNEC(0x00FF20DF, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Green
    irsend.sendNEC(0x00FF807F, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Bright+
    irsend.sendNEC(0x00FF4CB3, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Power
    irsend.sendNEC(0x00FF8C73, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: AUTO
    irsend.sendNEC(0x00FFA45B, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: Slow
    irsend.sendNEC(0x00FF9867, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key: QUICK