Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

TristatePort through exception while construct via SB


  • Please log in to reply
2 replies to this topic

#1 eplaksienko

eplaksienko

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts

Posted 02 May 2013 - 02:26 AM

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?


#2 Lunddahl

Lunddahl

    Advanced Member

  • Members
  • PipPipPip
  • 152 posts
  • LocationEurope, Denmark

Posted 03 May 2013 - 01:03 PM

http://forums.netdui...tateport-issue/



#3 eplaksienko

eplaksienko

    Advanced Member

  • Members
  • PipPipPip
  • 112 posts

Posted 03 May 2013 - 02:12 PM

Thx Lunddahl, but no solution there yet






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.