raspberry V0.2

pull/2/head
ouki-wang 6 years ago
parent d46008d6fd
commit cff3ef2a56
  1. 2
      RaspberryPi/Python/example/DFRobot_AS3935_detailed.py
  2. 2
      RaspberryPi/Python/example/DFRobot_AS3935_ordinary.py

@ -59,7 +59,7 @@ sensor.disturberEn()
# Connect the IRQ and GND pin to the oscilloscope. # Connect the IRQ and GND pin to the oscilloscope.
# uncomment the following sentences to fine tune the antenna for better performance. # uncomment the following sentences to fine tune the antenna for better performance.
# This will dispaly the antenna's resonance frequency/16 on IRQ pin (The resonance frequency will be divided by 16 on this pin) # This will dispaly the antenna's resonance frequency/16 on IRQ pin (The resonance frequency will be divided by 16 on this pin)
# Tuning AS3935_CAPACITANCE to make the frequency within 500/16 kHz ± 3.5% # Tuning AS3935_CAPACITANCE to make the frequency within 500/16 kHz plus 3.5% to 500/16 kHz minus 3.5%
# #
# sensor.setLcoFdiv(0) # sensor.setLcoFdiv(0)
# sensor.setIrqOutputSource(3) # sensor.setIrqOutputSource(3)

@ -51,7 +51,7 @@ sensor.manualCal(AS3935_CAPACITANCE, AS3935_MODE, AS3935_DIST)
# Connect the IRQ and GND pin to the oscilloscope. # Connect the IRQ and GND pin to the oscilloscope.
# uncomment the following sentences to fine tune the antenna for better performance. # uncomment the following sentences to fine tune the antenna for better performance.
# This will dispaly the antenna's resonance frequency/16 on IRQ pin (The resonance frequency will be divided by 16 on this pin) # This will dispaly the antenna's resonance frequency/16 on IRQ pin (The resonance frequency will be divided by 16 on this pin)
# Tuning AS3935_CAPACITANCE to make the frequency within 500/16 kHz ± 3.5% # Tuning AS3935_CAPACITANCE to make the frequency within 500/16 kHz plus 3.5% to 500/16 kHz minus 3.5%
# #
# sensor.setLcoFdiv(0) # sensor.setLcoFdiv(0)
# sensor.setIrqOutputSource(3) # sensor.setIrqOutputSource(3)

Loading…
Cancel
Save