Module: Frequency

Included in:
Float, Integer
Defined in:
lib/pi_piper/frequency.rb

Instance Method Summary collapse

Instance Method Details

#kilohertzObject


3
4
5
# File 'lib/pi_piper/frequency.rb', line 3

def kilohertz
  self * 1000
end

#megahertzObject


7
8
9
# File 'lib/pi_piper/frequency.rb', line 7

def megahertz
  self * 1000000
end