View Single Post
  #3   Spotlight this post!  
Unread 08-02-2008, 14:11
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: Serial_Write_Char() - Question

This is the end part of "User_Initialization" in user_routines.c

Code:
  relay7_fwd = 1;
  relay7_rev = 0;

  Initialize_Falcon();
 
  Putdata(&txdata);             /* DO NOT CHANGE! */

  Serial_Driver_Initialize();

  printf("IFI 2006 User Processor Initialized ...\r");  /* Optional - Print initialization message. */

  User_Proc_Is_Ready();         /* DO NOT CHANGE! - last line of User_Initialization */
}
The "Initialize_Falcon()" is where I try to write to the TTL port. As you can see it IS above "Serial_Driver_Initialize()," but I can't move it down because the it would be below Putdata?

Thanks,
Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics