Having said that, it depends what I've set the 'drive mode' to. And looking at the code it seems I have set the drive move to 'standard', so the max you could use is 5mA.
I should probably set the drive modes to high for everything, but I wonder whether anyone can think of a reason why this would be bad
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
15mA would seem to be fine (especially if sending short pulses of IR).
See the graph on http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fgpio.html at the bottom
Having said that, it depends what I've set the 'drive mode' to. And looking at the code it seems I have set the drive move to 'standard', so the max you could use is 5mA.
I should probably set the drive modes to high for everything, but I wonder whether anyone can think of a reason why this would be bad