PDA

View Full Version : PWM() vs Generate_Pwms() in Autonomous


Keith Watson
02-01-2007, 01:50 PM
A search of the forum and the readme's did not answer this for me.

The default Process_Data_From_Master_up() function now calls PWM() instead of Generate_Pwms(). The default User_Autonomous_Code() still uses Generate_Pwms(). Is there a reason autonomous does not use the hardware version?

Mark McLeod
02-01-2007, 02:27 PM
I believe it was only an oversight, since the point of the code is really the camera operation and autonomous isn't used.

Someone else encountered that issue
http://www.chiefdelphi.com/forums/showthread.php?t=52869

Mike
02-01-2007, 03:47 PM
If I recall correctly PWM() is Kevin Watson's code, while Generate_Pwms() is IFI.

Kevin Watson
02-01-2007, 04:11 PM
I believe it was only an oversightYep, it certainly is :rolleyes:.

-Kevin

Keith Watson
02-01-2007, 07:59 PM
Thanks for clearing that up Kevin. ;)