diff --git a/Circuit_Playground_Express_IR_Treasure_Hunt/CPX_Treasure/code.py b/Circuit_Playground_Express_IR_Treasure_Hunt/CPX_Treasure/code.py index 264b3e694..e94cf4a47 100644 --- a/Circuit_Playground_Express_IR_Treasure_Hunt/CPX_Treasure/code.py +++ b/Circuit_Playground_Express_IR_Treasure_Hunt/CPX_Treasure/code.py @@ -19,9 +19,9 @@ pixels = neopixel.NeoPixel(board.NEOPIXEL, 10) pulseout = pulseio.PulseOut(board.IR_TX, frequency=38000, duty_cycle=2 ** 15) # Create an encoder that will take numbers and turn them into IR pulses -encoder = adafruit_irremote.GenericTransmit(header=[9500, 4500], - one=[550, 1700], - zero=[550, 550], +encoder = adafruit_irremote.GenericTransmit(header=[9000, 4500], + one=[560, 1700], + zero=[560, 560], trail=0) while True: diff --git a/Circuit_Playground_Express_IR_Zombie_Game/code.py b/Circuit_Playground_Express_IR_Zombie_Game/code.py index c482905d5..c889c609a 100755 --- a/Circuit_Playground_Express_IR_Zombie_Game/code.py +++ b/Circuit_Playground_Express_IR_Zombie_Game/code.py @@ -28,8 +28,10 @@ decoder = adafruit_irremote.GenericDecode() # Create a 'pulseio' output, to send infrared signals on the IR transmitter @ 38KHz pulseout = pulseio.PulseOut(board.IR_TX, frequency=38000, duty_cycle=2 ** 15) # Create an encoder that will take numbers and turn them into NEC IR pulses -encoder = adafruit_irremote.GenericTransmit(header=[9500, 4500], one=[550, 550], - zero=[550, 1700], trail=0) +encoder = adafruit_irremote.GenericTransmit(header=[9000, 4500], + one=[560, 1700], + zero=[560, 560], + trail=0) # Set between 0 and 1 to set LED pulse speed. Smaller numbers are slower. healer_led_pulse = 0.008 diff --git a/Circuit_Playground_Express_and_IR/CPX_IR_CPX_transmit/code.py b/Circuit_Playground_Express_and_IR/CPX_IR_CPX_transmit/code.py index b29c63957..7b3d778bf 100644 --- a/Circuit_Playground_Express_and_IR/CPX_IR_CPX_transmit/code.py +++ b/Circuit_Playground_Express_and_IR/CPX_IR_CPX_transmit/code.py @@ -11,8 +11,10 @@ import board # Create a 'pulseio' output, to send infrared signals on the IR transmitter @ 38KHz pulseout = pulseio.PulseOut(board.IR_TX, frequency=38000, duty_cycle=2 ** 15) # Create an encoder that will take numbers and turn them into NEC IR pulses -encoder = adafruit_irremote.GenericTransmit(header=[9500, 4500], one=[550, 1700], - zero=[550, 550], trail=0) +encoder = adafruit_irremote.GenericTransmit(header=[9000, 4500], + one=[560, 1700], + zero=[560, 560], + trail=0) while True: if cpx.button_a: diff --git a/IrRobotControl/glove/code.py b/IrRobotControl/glove/code.py index 610704af4..accacb0b8 100644 --- a/IrRobotControl/glove/code.py +++ b/IrRobotControl/glove/code.py @@ -33,9 +33,9 @@ sensor = adafruit_lis3dh.LIS3DH_I2C(i2c, address=0x19) pulseout = pulseio.PulseOut(board.IR_TX, frequency=38000, duty_cycle=2 ** 15) # Create an encoder that will take numbers and turn them into IR pulses -encoder = adafruit_irremote.GenericTransmit(header=[9500, 4500], - one=[550, 1700], - zero=[550, 550], +encoder = adafruit_irremote.GenericTransmit(header=[9000, 4500], + one=[560, 1700], + zero=[560, 560], trail=0) def log(s): diff --git a/STEMMA_IR_LED_Emitter/code.py b/STEMMA_IR_LED_Emitter/code.py index e3e3a491a..3e6baeeea 100644 --- a/STEMMA_IR_LED_Emitter/code.py +++ b/STEMMA_IR_LED_Emitter/code.py @@ -10,9 +10,10 @@ import adafruit_irremote # Create a 'PulseOut' to send infrared signals on the IR transmitter @ 38KHz pulseout = pulseio.PulseOut(board.D5, frequency=38000, duty_cycle=2**15) # Create an encoder that will take numbers and turn them into NEC IR pulses -emitter = adafruit_irremote.GenericTransmit( - header=[9500, 4500], one=[550, 1700], zero=[550, 550], trail=0 -) +encoder = adafruit_irremote.GenericTransmit(header=[9000, 4500], + one=[560, 1700], + zero=[560, 560], + trail=0) # count variable count = 0