View Single Post
  #4   Spotlight this post!  
Unread 23-06-2002, 22:46
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Analog or Digital?

Posted by Nate Smith.

Other on team #66, GM Powertrain/Ypsilanti HS/Willow Run HS, from Eastern Michigan University and GM Powertrain.

Posted on 1/23/2000 11:31 AM MST


In Reply to: programming help: part deux posted by Jon on 1/23/2000 1:44 AM MST:



Jon,
You do only have one SERIN command to get all of your data from the RC's main processor...but if it's an analog input (sensor1-7 in the default control program), you can set the value in the DEFINE CONSTANTS FOR INITIALIZATION section of the control program for the one that you want to 1, and the rest to 0. However, if it's a digital input(limit switch, etc.) that you want to read, you have to take the entire byte that the switch's bit is stored in. Hope this helps...

Nate
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.