Main Site Documentation

Cpu.AnalogChannel higher than 7


On G400 how to use PB8 /AD9 as analog input?

Using Cpu.AnalogChannel don’t allow to go higher than Analog7.

Casting G400.PB8 into Cpu.AnalogChannel fails.


@ leforban - If you want say channel 8, just cast 8 to AnalogChannel:



Thanks it works like a charm. To litgher the netmf core, enumeration should be removed then…