lkml.org 
[lkml]   [2021]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectThrustMaster USB interface question
Hi
I have interfaced ThrustMaster controls via 3 USP ports on a Raspberry Pi.

Everything works fine, except that initially, the digital inputs are all
zero (OFF), even though a switch may be set in the non-zero position
(ON). If a switch starts in a non-zero position (ON), to read the
correct value I have to flick the switch off and then on. Is there any
way to read the positions of all the digital inputs initially?

Many thanks

-- Dave

=====================================================
David Allerton BSc,PhD,PGCE,CEng,FIEE
Emeritus Professor of Computer Systems Engineering
Department of Automatic Control & Systems Engineering
University of Sheffield
Mappin St
Sheffield S1 3JD

Visiting Professor Cranfield University
Honorary Consultant CnTech Co. Ltd
Managing Director Aerosoft Ltd

phone +44 (0) 7754-486866
email d.j.allerton@sheffield.ac.uk
book http://www.wiley.com/legacy/wileychi/allerton
=====================================================

\
 
 \ /
  Last update: 2021-12-16 17:18    [W:0.040 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site