Hi all.
I am playing with a servo motor and needed to drive it as a test. Having a RPI sitting here I added a servo component to it but keeps throwing an error. It will simulate but if I try and compile to chip it errors.
I took the servo component out and it compiled to chip ok. Put it back without anything else changing and it erros. I checked the forums and cant find anything. I simply assumed as it let me add it it was compatible but am I wroong?
Error
Building servo1
servo1.c:521:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
servo1.c:733:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
Error(s) in build!
RPI 3b+ and servo component
Moderator: Benj
Re: RPI 3b+ and servo component
All good Leigh.
Just wanted to make sure it wasntsomething I was or wasnt doing
I was just needing to test a servo and breadboarded a small circuit but was missing a couple of capacitors and since I had a rpi here thought I might do it that way.
Absolutely no hurry as its not an ongoing issue for me anyways
Keep up the good work. Very happy with the huge support you and Matrix provide.
Peter
Just wanted to make sure it wasntsomething I was or wasnt doing
I was just needing to test a servo and breadboarded a small circuit but was missing a couple of capacitors and since I had a rpi here thought I might do it that way.
Absolutely no hurry as its not an ongoing issue for me anyways
Keep up the good work. Very happy with the huge support you and Matrix provide.
Peter