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] [/img]
Thanks
Brian
Servo C Compiler Error
Moderator: Benj
- BChappy
- Posts: 15
- Joined: Fri Jun 19, 2009 11:03 pm
- Location: Lincoln, UK.
- Has thanked: 13 times
- Been thanked: 7 times
- Contact:
Servo C Compiler Error
- Attachments
-
- 16F690_NO_enable_servo_.fcf
- (6.5 KiB) Downloaded 278 times
-
- 16F690_with_enable_servo_.fcf
- (6.5 KiB) Downloaded 290 times
Is your Project Not Working? - Help and General Advice Click here!
Flowcode v8 forum topic - Click here!
Flowcode v8 forum topic - Click here!
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Servo C Compiler Error
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel