View Single Post
  #2   Spotlight this post!  
Unread 03-02-2015, 20:47
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Pneumatics Control module programming

The code for interacting with solenoids should be exactly the same as prior years except the channel numbers start from 0. Another thing to note is that you do not need to create a compressor object (unless you want manual control), as the PCM automatically starts (and stops based on the pressure switch) the compressor when a solenoid is created.

The only time you need to worry about the PCM id is if you have multiple PCMs.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote