static public SerialPort GPS = new SerialPort("COM2", 4800); // work, ok
.....
.....
GSM.Open(); // work, ok
GPS.DataReceived += new SerialDataReceivedEventHandler(GPS_DataReceived); // work, ok
....
....
FEZ_Components.IO40 myIO40 = new FEZ_Components.IO40(0); // work, ok
myIO40.MakePinOutput(2, 0); // :( after this string COM2 dont work, ok
I open com 2, and before line “FEZ_Components.IO40…” its work!!!
but after “myIO40.MakePinOutput(2, 0);” the com2 dont work, not response and “DataReceived” not call for receive datas
and line “myIO40.MakePinOutput(2, 0);” make as comment, all fine! all work!
This is very bad BUG!