Update DFRobotAS3935LightningSensorOrdinary.ino

Updated the sample based on feedback I received from support regarding my previous PR (#14)
pull/16/head
John M. Wargo 6 months ago committed by GitHub
parent 1d974051b0
commit b2bae6b9e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      examples/DFRobotAS3935LightningSensorOrdinary/DFRobotAS3935LightningSensorOrdinary.ino

@ -19,8 +19,10 @@
volatile int8_t AS3935IsrTrig = 0; volatile int8_t AS3935IsrTrig = 0;
// Connect the license sensor's IRQ pin to a GPIO pin on the microcontroller // The Arduino UNO can only use IO2 or IO3 as interrupt pins, whereas the
// then replace the number below with the GPIO pin number // ESP32 can use all pins as interrupt pins. Connect the lightning sensor's
// IRQ pin to a GPIO pin on the microcontroller then replace the number
// below with the connected GPIO pin.
#define IRQ_PIN 2 #define IRQ_PIN 2
// Antenna tuning capcitance (must be integer multiple of 8, 8 - 120 pf) // Antenna tuning capcitance (must be integer multiple of 8, 8 - 120 pf)

Loading…
Cancel
Save