Im stumped (PWM error)

Ok so I have by Cerbuino bee, and I realised its not analog, but PWM is what I need(sorry for doubting you guys)

I need to move servos. I plan on making two buttons that each move a servo on a wheel, like a tank control style.

Yet I took this code snippet from the ghi pwm sample and its not working. PWM doesn’t get recognised at all and there’s no auto resolve. I DID check the Cerbuino and there are pwm pins, my project versions are correct.

Thanks for all the help.

@ MRTFEREN - Did you add a reference to Microsoft.SPOT.Hardware.PWM?

@ John - it…dosent exist? :’(

Oh yes it does!!!

@ MRTFEREN - Does C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.PWM.dll exist?

yay thanks guys!

Just reviving this here

I left off trying to get a servo turning but I couldn’t figure it out, whether I should use analog, pwm or something else.
(I actually think my boards broken somehow, that’s for another post)
If its not too much to ask, can someone just post a simple code to the codeshare that can get a servo “activated”, like send a frequency to one of the pins? I cant seem to figure out how to get a pin powered with analog or PWM

I appreciate any help guys