Servo with arduino uno

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
benrouse77
Posts: 26
Joined: Thu Jul 05, 2012 11:29 pm
Has thanked: 12 times
Been thanked: 1 time

Servo with arduino uno

Post by benrouse77 »

I'm stuck trying to get a servo to work on my uno, the error says if my program contains C. Works fine on the mega adk board but not the uno. I've tried all different pin outs with no joy
Attachments
Untitled.jpg
Untitled.jpg (79.02 KiB) Viewed 3499 times

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: Servo with arduino uno

Post by Enamul »

Can you please post a bit better resolution picture..it's not clear.
Thanks,
Enamul
University of Nottingham
enamul4mm@gmail.com

benrouse77
Posts: 26
Joined: Thu Jul 05, 2012 11:29 pm
Has thanked: 12 times
Been thanked: 1 time

Re: Servo with arduino uno

Post by benrouse77 »

hope that's better? the flowcode works ok till i try and load to the uno
Attachments
Untitled.jpg
Untitled.jpg (231.26 KiB) Viewed 3494 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 with arduino uno

Post by Benj »

Hello,

Please ensure that your servo component is set to only use the number of servo's you require in your program. Also please ensure that all the servo's are connected in the connections window.

If your still having compilation errors then this updated component C file should solve the issue.
FC5_AVR_Servo.c
(20.79 KiB) Downloaded 259 times
Simply place into your "Flowcode (AVR)/v5/Components" directory.

Let me know how you get on.

Post Reply