Merge pull request #14 from johnwargo/patch-4

Update DFRobotAS3935LightningSensorOrdinary.ino
master
唐杰 2 weeks ago committed by GitHub
commit 1d974051b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      examples/DFRobotAS3935LightningSensorOrdinary/DFRobotAS3935LightningSensorOrdinary.ino

@ -19,11 +19,9 @@
volatile int8_t AS3935IsrTrig = 0;
#if defined(ESP32) || defined(ESP8266)
#define IRQ_PIN 0
#else
// Connect the license sensor's IRQ pin to a GPIO pin on the microcontroller
// then replace the number below with the GPIO pin number
#define IRQ_PIN 2
#endif
// Antenna tuning capcitance (must be integer multiple of 8, 8 - 120 pf)
#define AS3935_CAPACITANCE 96

Loading…
Cancel
Save