SERVO

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

SERVO

Post by electron67 »

Hello, I have problems with the servo when you use other pic (pic16f819, 12f1840, 16f628, 16f648a)

in the example the program uses a PIC16F877A and if it compiles well flowcode7, but you change the pic by the PIC16F819 and when you compile it says error 1

Can someone help me ?
Enrique
Attachments
Single_servo_819.fcfx
flowchart
(10.51 KiB) Downloaded 203 times

User avatar
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

Post by Benj »

Hello Enrique,

The Servo component requires 2 PWM channels to allow the Servo output to be generated. The 16F819 only has one PWM channel available, hence the compile errors.

You can use the DeviceHelper component from the Tools menu to tell you how many peripherals your selected chip has onboard.

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: SERVO

Post by electron67 »

Hello Benj,

Thanks for the information, I thought that only 1 PWM was needed

Best Regards !!!
Enrique

Post Reply