Updated with Arduino Primo new Pins

Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/46ed8663
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/46ed8663
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/46ed8663

Branch: refs/heads/develop
Commit: 46ed8663411a6e9552f7734718586ac8ab63fd51
Parents: 726be37
Author: David G. Simmons <[email protected]>
Authored: Fri Jan 13 12:16:47 2017 -0500
Committer: David G. Simmons <[email protected]>
Committed: Fri Jan 13 12:17:31 2017 -0500

----------------------------------------------------------------------
 docs/os/tutorials/air_quality_sensor.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/46ed8663/docs/os/tutorials/air_quality_sensor.md
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/air_quality_sensor.md 
b/docs/os/tutorials/air_quality_sensor.md
index 8b62396..9965253 100644
--- a/docs/os/tutorials/air_quality_sensor.md
+++ b/docs/os/tutorials/air_quality_sensor.md
@@ -494,6 +494,17 @@ The sensor has a serial port connection, and that's how 
you are going to connect
 We're using one for our shell/console. It also has a second UART set up as a 
'bit-bang' UART but since the SenseAir only needs to
 communicate at 9600 baud, this bit-banged uart is plenty fast enough.
 
+You'll have to make a small change to the `syscfg.yml` file in the 
hw/bsp/arduino_primo_nrf52 directory to chang the pin definitions 
+for this second UART. Those changes are as follows:
+
+```no-highlight
+    UART_0_PIN_TX:
+        description: 'New Pin Assignment'
+        value: 23
+    UART_0_PIN_RX:
+        description: 'New Pin Assignment'
+        value: 24
+```
 
 
 With this in place, you can refer to serial port where your SenseAir sensor is 
by a logical number. This makes the code more platform independent - you could 
connect this sensor to another board, like Olimex. You will also use the HAL 
UART abstraction to do the UART port setup and data transfer. That way you 
don't need to have any platform dependent pieces within your little driver.
@@ -798,6 +809,7 @@ main(int argc, char **argv)
     ....
     }
 ```
+
 You can see from the code that you are using the HAL interface to open a UART 
port, and using OS 
 semaphore as a way of blocking the task when waiting for read response to come 
back from the sensor.
 

Reply via email to