Lightning sensor library It is inherited from https://developer.mbed.org/users/casper/code/AS3935/

Dependents:   BLE_Lightning_sensor

Revision:
1:7eb1731e4764
Parent:
0:a1be9313a67a
Child:
2:9e89ca13848d
--- a/AS3935_ext.cpp	Thu Aug 27 16:15:47 2015 +0000
+++ b/AS3935_ext.cpp	Sun Aug 30 06:27:19 2015 +0000
@@ -39,6 +39,12 @@
     
     // Set SREJ
     registerWrite(AS3935_SREJ,0x02);
+
+    // Set NF_LEV (default = 2) (0..0x07)
+    registerWrite(AS3935_NF_LEV,0x02);
+    
+    // Set WDTH (default = 2) (0..0x0f)
+    registerWrite(AS3935_WDTH,0x02);
 }
 
 int AS3935_ext::MeasureLCOFreq()