Page 1 of 1

Servo C Compiler Error

Posted: Wed Feb 29, 2012 10:22 am
by BChappy
Hello,

I am getting compiler errors when I add the "servo macros"
Attached are the "cut down" versions of my program.

I have the latest V5.1 Pro. install.
My old V4 Pro. seems to show similar errors!

[img]
Screen_FCv5_errors.jpg
Screen_FCv5_errors.jpg (166.64 KiB) Viewed 3226 times
[/img]

Thanks

Brian

Re: Servo C Compiler Error

Posted: Wed Feb 29, 2012 11:34 am
by Benj
Hello,

The Servo component requires 2 x capture compare PWM peripherals to allow the component code to define the mark and space of the servo signal correctly.

The 16F690 only has one hardware PWM channel available so it currently cannot be used with the servo component.