View Single Post
  #7   Spotlight this post!  
Unread 04-02-2004, 19:29
Jay Lundy Jay Lundy is offline
Programmer/Driver 2001-2004
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Berkeley, CA
Posts: 320
Jay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to all
Re: A few questions on programming the Control System

You can still sort of use bools.

typedef bool unsigned char;

or

typedef unsigned char bool;

I can never remember which (more of a C++ guy myself too). I think it's the top one though.

Also:

#define TRUE 1
#define FALSE 0