I am testing the extender module to blink an led on P4.
I connected the cable from the extender module on the side of the “G” to socket 7 on the Spider.
private void InitializeModules()
{
extender = new GTM.GHIElectronics.Extender(7);
}
I used the visual component layout in Visual Studio and that shows socket #7 highlighted as available socket for the extender
when dragging a connection (?!)
Would be handy if the module had a letter on it like other modules.
Yes that was the problem. I have a Spider. Putting it on socket #8 solved it.
Though the visual editor of components should not highlight socket #7 then. And/or maybe they shut put letters on the module to indicate where it can be put.
There’s a good reason not to put letters on the Extender module - it’s because the socket to use is entirely dependent on what you want to use the extender for, it can ‘be’ almost anything. For instance if you want to use some PWM output pins, it would have to go in a P socket, if you wanted to use an analogue input it would have to go in an A socket, and so on.