On 6/11/2013 11:12 PM, tanganyang1985 wrote:
Hi, I got a ts 7260 with 3 switches. My questions are:
1, how could I 'link' the 3 switches to the ts 7260?
You can use the DIO header on the board to read discrete inputs.
http://wiki.embeddedarm.com/wiki/TS-7260#DIO1_Header
http://wiki.embeddedarm.com/wiki/TS-7260#Digital_I.2FO
2, I want the ts 7260 to check the status of the switch (like switch
'on' or 'off')
You can write an application to read the values of the discrete inputs
on the DIO header.
http://wiki.embeddedarm.com/wiki/Linux_for_ARM_on_TS-72XX_User%27s_Guide#DIO
3, how could I do the switch check without boot in the Linux,
alternately, I want the ts 7260 check the switch status after connect
to 5 DC power.
You can write a script that will run your application when the board
boots (receives power).
http://wiki.embeddedarm.com/wiki/Linux_for_ARM_on_TS-72XX_User%27s_Guide#Initialization_Scripts
>> TS-SDBOOT - built Aug 10 2009
>> Copyright (c) 2007, Technologic Systems
.
.
.
Finished booting in 2.14 seconds
Type 'tshelp' for help
$
Any idea or tutorial materials will be great help, thank you & have a
good night.
smime.p7s
Description: S/MIME Cryptographic Signature
|