Run a K30 CO2 sensor on a Nordic nRF52DK Board

Fork of mbed-os-example-ble-BatteryLevel by mbed-os-examples

Files at this revision

API Documentation at this revision

Comitter:
davidgsIoT
Date:
Tue May 01 17:51:51 2018 +0000
Parent:
61:a5d14d0a94a1
Child:
63:8ec90c81ff7d
Commit message:
Comment update

Changed in this revision

source/main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/source/main.cpp	Tue May 01 17:45:11 2018 +0000
+++ b/source/main.cpp	Tue May 01 17:51:51 2018 +0000
@@ -1,5 +1,5 @@
 /* mbed Microcontroller Library
- * Copyright (c) 2006-2014 ARM Limited
+ * Copyright (c) 2018 David G. Simmons
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,6 +26,7 @@
 DigitalOut led3(LED3);
 DigitalOut led4(LED4);
 //I2C i2c(p24 , p25);
+// Standard I2C pins on the nRF52. But you can use any pins you want really. 
 I2C i2c(p26, p27);
  /** If you want to debug, or see output, uncomment this **/
 //Serial pc(USBTX, USBRX); // tx, rx