Hi!
TristatePort throw exception while construct via SB
here the code
ShieldBase sb = new ShieldBase((GoBus.GoSocket)1);
TristatePort p1 = new TristatePort(sb.Pins.GPIO_PIN_D2, false, true, Port.ResistorMode.PullUp);
here the exception
A first chance exception of type 'System.Exception' occurred in GoBusSerialTransport.dll
An unhandled exception of type 'System.Exception' occurred in GoBusSerialTransport.dll
Here the trace
GoBusSerialTransport.dll!GoBus.GoBusSerialTransport.CallFunction(byte profile, byte instance, byte function, byte[] parameters, bool waitForResponse) Line 1101 + 0xcf bytes C#
NetduinoGo.ShieldBase.dll!NetduinoGo.ShieldBase.CreateTristatePort(Microsoft.SPOT.Hardware.Cpu.Pin portId, bool initialState, bool glitchFilter, Microsoft.SPOT.Hardware.Port.ResistorMode resistor) Line 461 + 0x5d bytes C#
[External Code]
> Charlie6.exe!Charlie6.Program.Main() Line 17 + 0x1d bytes C#
z`
Any ideas what's wrong?