View Single Post
  #56   Spotlight this post!  
Unread 09-08-2014, 00:23
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,602
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: LED Lights for the Robot (what do you use??!?!)

Quote:
Originally Posted by Bonzabonz View Post
I read that the max frequency that the cRIO pwm runs at is 200Hz. Does anyone know of a workaround or a way to get the PWM to work at a higher frequency?
Speed controllers and servos use Servo PWM which is really a short pulse sent at a defined rate. That is what has a 200hz limit. It is not what you want you would want to use for controlling your LEDs.

Rather, the digital outputs support true PWM, and let you define the frequency and duty cycle. Look at the digital outputs API.
Reply With Quote