       return
 
     interval = 1000.0 / (@bps / 10.0)
-    console.log "bps #{@bps} interval #{interval}"
     @last = (new Date).getTime()
     @timer = setInterval (() => @tick()), interval
 

# -*- tab-width: 2 -*-

class Modemizr
  bps: 9600

  constructor: (@elt, @text) ->


  # BPS value correct since `last` when now is `now`.
  countCharsNeeded: (last, now) ->
    elapsed = now - last
    chars = Math.round(elapsed / (1000.0 / (@bps / 10.0)))
    chars

  tick: () ->
