ts-7000
[Top] [All Lists]

Re: [ts-7000] How to read temperture on TS-7400? [1 Attachment]

To:
Subject: Re: [ts-7000] How to read temperture on TS-7400? [1 Attachment]
From: Ken Lu <>
Date: Fri, 8 Jun 2012 07:45:24 -0700 (PDT)
[Attachment(s) from Ken Lu included below]


I tried to use poke32/peek32 to instead of peekpook, can get partially working, see attachment, a screen shot.  And tried other boards, none of them work, just return 0.  It seems not reliable.  Any one has experience?  Thanks.



--- On Thu, 6/7/12, Ken Lu <> wrote:

From: Ken Lu <>
Subject: Re: [ts-7000] How to read temperture on TS-7400?
To:
Received: Thursday, June 7, 2012, 4:47 PM

 

Yes, that is I copied from there, no change at all.  The scripts and function working, but seems the addresses are  not correct.  I cannot find from the manual. 

--- On Thu, 6/7/12, harry olar <> wrote:

From: harry olar <>
Subject: Re: [ts-7000] How to read temperture on TS-7400?
To: "" <>
Received: Thursday, June 7, 2012, 4:37 PM

 
search for TS7xxx.subr script it already has a temp function


From: kenlu6 <>
To:
Sent: Thursday, June 7, 2012 4:36 PM
Subject: [ts-7000] How to read temperture on TS-7400?

 
Hi all, greetings.
I followed the steps, compiled peekpook. Used following script. Got the result is 0.0. I am not sure the address map is correct for TS-7400, which has MAX options.
The readtemp.sh code:
#!/bin/sh
temp_read(){
local RAW
local TC
(
peekpoke 32 0x808A0004 0x10
peekpoke 32 0x808A0000 0x0F
peekpoke 32 0x808A0010 0xFE
peekpoke 32 0x808A0004 0x00
peekpoke 32 0x808A0004 0x10
peekpoke 32 0x80840034 0x04
peekpoke 32 0x80840030 0x00
peekpoke 32 0x808A0008 0x8000
peekpoke 32 0x80840034 0x00
) >/dev/null
RAW=`peekpoke 32 0x808A0008`
let TC="$RAW >> 7"
echo -n $TC.
let TC="$RAW & 127"
let TC="$TC*10/128"
echo $TC
}
temp_read




Attachment(s) from Ken Lu

1 of 1 Photo(s)


__._,_.___


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>
  • Re: [ts-7000] How to read temperture on TS-7400? [1 Attachment], Ken Lu <=
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