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

Go! socket GPIO as OutputPort?


  • Please log in to reply
1 reply to this topic

#1 Hugh Hoover

Hugh Hoover

    New Member

  • Members
  • Pip
  • 8 posts
  • LocationEnumclaw

Posted 11 August 2012 - 09:45 PM

I'm trying to debug using COM2 through socket5 as a OneWire interface. I've been able to deterministically read a presence bit using 9600 baud - looks nice on the O'scope. Now - I'm trying to read data, and all I'm seeing is ... nada ... I'd like to get my O'scope hooked up, but I need a stable trigger - I was thinking I could simply turn the socket's GPIO pin hi/lo at various times to use as an external trigger. Issue I have is that... how do I specify it? can I just use (Cpu.Pin)24 (the pin number shown in the schematic for GPIO_Socket5)? I've tried that, and the LED for Socket3 turns on, and I have no signal on pin 3 of the socket. I KNOW I'm supposed to use a module for this... but I figure I can convert it when the shield firmware is ready. If I were to use the shield base - how do you create a SerialPort for it?

#2 Hugh Hoover

Hugh Hoover

    New Member

  • Members
  • Pip
  • 8 posts
  • LocationEnumclaw

Posted 12 August 2012 - 03:38 PM

Ah - I found it - the GoSocket GetPhysicalResources response includes the gpio pin. This works.




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.