View Single Post
  #10   Spotlight this post!  
Unread 23-02-2004, 16:51
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: WARNING - Keep those compressors cool or you may be slimed!!!!

For those unsure, you can obtain the ifi_aliases.h file from the Innovation FIRST website. They are the suppliers of our control system. Their website is at: http://www.innovationfirst.com . The ifi_aliases.h file can be found in the zip file containg the defualt code; that can be found here: http://www.innovationfirst.com/FIRST...2004-02-18.zip .

Quote:
Originally Posted by MikeDubreuil
Your best bet is to use the latest ifi_aliases.h file dated 2-18-2004. The code that you supplied is wrong, and will in fact supply reverse polarity power to your compressor. Your relay will light red and your comprossor will be hot due to the internal cooling malfunctioning. This is the correct code (but do get the new file):

Code:
#define relay8_fwd      LATJbits.LATJ0
#define relay8_rev      LATDbits.LATD7