Skip to content
Snippets Groups Projects
Select Git revision
  • 0e7bcf850bd2fe2f09f0ee527e8e51bc5b8f2882
  • master default protected
  • v0.10.0
  • v0.10.0-rc2
  • v0.10.0-rc1
  • v0.9.0
  • v0.9.0-rc1
  • v0.8.0
  • v0.8.0-rc2
  • v0.8.0-rc1
  • v0.7.0
  • v0.7.0-rc2
  • v0.7.0-rc1
  • v0.6.1
  • v0.6.0
  • v0.6.0-rc2
  • v0.6.0-rc1
  • v0.5.0
  • v0.5.0-rc2
  • v0.5.0-rc1
  • v0.4.0
  • v0.4.0-rc2
22 results

NEWS

Blame
  • To find the state of this project's repository at the time of any of these versions, check out the tags.
    XL_as_gpio.ino 343 B
    //sec 2017
    
    void setup() {
      //Need to switch to internal LFCLK to disconnect from XL1 and XL2
      NRF_CLOCK->LFCLKSRC = 0; //disconnect XL1 AND XL2 FROM LFCLK
      NRF_CLOCK->EVENTS_LFCLKSTARTED = 0;
      NRF_CLOCK->TASKS_LFCLKSTART    = 1;
      while (NRF_CLOCK->EVENTS_LFCLKSTARTED == 0){}
    
      //now can use XL1 and XL2 as usual gpio
    }
    
    void loop() {}