I was exploring GHIElectronics.Gadgeteer.FEZCobra_II.dll assembly and found DebugLedPin constant. It seems that it is not used anywhere. Maybe it should be made public so that we could read it. At the moment I am looking for a way how to find out which pin is connected to on-board LED, so making this constant public would very well suit my needs . Of course that would need to be done for all MB to make sense.
private OutputPort debugled = new OutputPort((Cpu.Pin) 47, false); private const Cpu.Pin DebugLedPin = (Cpu.Pin) 47;