Tick-Tok and PWM / Servo Example Code - Tick-Tok float vs 1/0

Hello,

I’m a little confused over 2 of the examples -

Pulse-Width Modulation (http://devwiki.electricimp.com/doku.php?id=example:pwm)
Controlling Servo Motors (http://devwiki.electricimp.com/doku.php?id=example:servo)

The example InputPort.set() code suggest that the imp’s input will be a number between 1 and 0 (and hence used to move a servo or control the brightness of an LED).

But the Tick-Tok used for input only produces 0 or 1 - so the LED for example is just on or off (does not brighten or dim gradually).

Can a Tick-Tok be configured to rist and fall between 1 and 0 ?
Can any one advise me what I might be missing.

Thanks in advance,
Gary.

We did have some other blocks which did triangle wave, etc, but those have been removed. You can still send any value you want from a browser using an http input node.

Thanks,