ts-7000
[Top] [All Lists]

[ts-7000] Problem Accessing GPIO on TS-7800

To:
Subject: [ts-7000] Problem Accessing GPIO on TS-7800
From: "mikeciaraldi" <>
Date: Tue, 12 Aug 2008 01:39:44 -0000
We have run into a funny problem when attempting to access the GPIO on my TS-7800. The DIO and LCD ports work fine, by the way.

As a test, we connected an LED and pull-up resistor from one of the output pins to the 5 volt supply. If we drive that pin to zero, the LED should light. When we use the command-line peekpoke, we can set the direction of the pin to output, then set the value to zero, and the LED lights up as it should. But when we try to do this from inside some C code, the pin stays at one.  The original version of the code uses my peek and poke functions (discussed in another message thread). But here is a minimal version of the code, which does the same thing. 

minimal.c

Any ideas? Thanks in advance!
__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU