HI All,
I have installed an ir example sketch, bellow are the rem of the sketch, Im hoping someone is familiar with it. My circuit works as it should but the current out to the IR LED is 5mA with no resistor. Is there something in the software limiting the current? I think the pin can deliver 40mA so why is mine only giving 5mA? Thanks
/*
* IRrecord: record and play back IR signals as a minimal
* An IR detector/demodulator must be connected to the input RECV_PIN.
* An IR LED must be connected to the output PWM pin 3.
* A button must be connected to the input BUTTON_PIN; this is the
* send button.
* A visible LED can be connected to STATUS_PIN to provide status.
*
* The logic is:
* If the button is pressed, send the IR code.
* If an IR code is received, record it.
*
* Version 0.11 September, 2009
* Copyright 2009 Ken Shirriff
I have installed an ir example sketch, bellow are the rem of the sketch, Im hoping someone is familiar with it. My circuit works as it should but the current out to the IR LED is 5mA with no resistor. Is there something in the software limiting the current? I think the pin can deliver 40mA so why is mine only giving 5mA? Thanks
/*
* IRrecord: record and play back IR signals as a minimal
* An IR detector/demodulator must be connected to the input RECV_PIN.
* An IR LED must be connected to the output PWM pin 3.
* A button must be connected to the input BUTTON_PIN; this is the
* send button.
* A visible LED can be connected to STATUS_PIN to provide status.
*
* The logic is:
* If the button is pressed, send the IR code.
* If an IR code is received, record it.
*
* Version 0.11 September, 2009
* Copyright 2009 Ken Shirriff