View Single Post
  #13   Spotlight this post!  
Unread 02-02-2005, 16:52
Mike Soukup's Avatar
Mike Soukup Mike Soukup is offline
Software guy
FRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Schaumburg, IL
Posts: 797
Mike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond repute
Re: Showing PSI in user mode?

If it's legal, here's how we did it last year before we were forced to use the digital sensor instead of the analog:
Code:
#define PUMP_120_PSI_VAL  223
User_Mode_byte = ((Get_Analog_Value(rc_ana_in01) >> 2) * (int)120) / (int)PUMP_120_PSI_VAL;