Some of the digital pins on the RedBoard can be configured for "pulse width modulated" output. While the pin can only output 0 volts or 5 volts, by switching quickly between 0 volts and 5 volts, the average voltage can be a value between these two extremes. This is the technique used by the analogWrite function.