|
Re: Interface with breaker
Quote:
|
Originally Posted by doyler
I dumped that code in and got 2 errors from the compilation
|
You're right. You need the Breaker_Tripped() function as well.
What Kevin was referring to above is he has already extracted Breaker_Tripped() so you can easily add it to your DDT project.
Go to Kevin's website and pickup his http://kevin.org/frc/frc_serial_ports_0.3.zip
within that zip file Kevin has pulled the function and data structures you need into the two files:- breaker_panel.c
- breaker_panel.h
Copy just these two files into your DDT project folder and add them to your list of project files (Project -> Add Files to Project...).
I just checked this combination and you'll need to add:
#define FALSE 0
to breaker_panel.h or include it from somewhere else where it's already defined.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 06-02-2005 at 21:20.
|