Utilities for aconno development kit.

Dependents:   acd52832_BMC150_example acd52832_NFC_example acd52832_UART acn52832_Battery_Beacon ... more

Files at this revision

API Documentation at this revision

Comitter:
Dautor
Date:
Thu Sep 14 08:21:58 2017 +0000
Parent:
31:213362f11713
Commit message:
Some changes.

Changed in this revision

nrf52_digital.h Show annotated file Show diff for this revision Revisions of this file
--- a/nrf52_digital.h	Wed Sep 13 09:19:31 2017 +0000
+++ b/nrf52_digital.h	Thu Sep 14 08:21:58 2017 +0000
@@ -13,7 +13,7 @@
 class NRF52_DigitalOut{
     public:
         NRF52_DigitalOut(uint8_t pin) : pin(pin){ NRF_P0->DIRSET = (uint32_t)1 << pin; }
-        ~NRF52_DigitalOut() { NRF_P0->DIRCLR = (uint32_t)1 << pin; }
+        ~NRF52_DigitalOut() {}
 
         inline void operator=(bool state){
             if(state){