From 6f347e6389f1a86e6c961cab5ca9c00308be07fb Mon Sep 17 00:00:00 2001 From: jhlucky <460221531@qq.com> Date: Thu, 15 Nov 2018 09:37:36 +0800 Subject: [PATCH] Update DFRobot_AS3935_lightning_sensor.ino --- .../DFRobot_AS3935_lightning_sensor.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/DFRobot_AS3935_lightning_sensor/DFRobot_AS3935_lightning_sensor.ino b/examples/DFRobot_AS3935_lightning_sensor/DFRobot_AS3935_lightning_sensor.ino index d373b7e..3836382 100644 --- a/examples/DFRobot_AS3935_lightning_sensor/DFRobot_AS3935_lightning_sensor.ino +++ b/examples/DFRobot_AS3935_lightning_sensor/DFRobot_AS3935_lightning_sensor.ino @@ -65,7 +65,7 @@ void setup() // 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) // Tuning AS3935_CAPACITANCE to make the frequency within 500/16 kHz ± 3.5% -// lightning0.AS3935_SetLCO_FDIV(0); +// lightning0.AS3935SetLcoFdiv(0); // lightning0.AS3935SetIRQOutputSource(3); attachInterrupt(0, AS3935_ISR, RISING);