Log in

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


Keith Watson
01-02-2007, 13:50
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
01-02-2007, 14:27
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
01-02-2007, 15:47
If I recall correctly PWM() is Kevin Watson's code, while Generate_Pwms() is IFI.

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

-Kevin

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