Update README.adoc's for various examples to remove unnecessary block callouts. (#182)

This commit is contained in:
James Hughes
2021-11-03 16:37:42 +00:00
committed by GitHub
parent f800a7e303
commit 188d849b1f
5 changed files with 13 additions and 20 deletions

View File

@@ -1,16 +1,13 @@
= Attaching a MCP9808 digital temperature sensor via I2C
This example code shows how to interface the Raspberry Pi Pico to the MCP9808 digital temperature sensor board.
======
This example reads the ambient temperature value each second from the sensor and sets upper, lower and critical limits for the temperature and checks if alerts need to be raised. The CONFIG register can also be used to check for an alert if the critical temperature is surpassed.
======
== Wiring information
Wiring up the device requires 4 jumpers, to connect VDD, GND, SDA and SCL. The example here uses I2C port 0, which is assigned to GPIO 4 (SDA) and 5 (SCL) in software. Power is supplied from the VSYS pin.
[[mcp9808_i2c_wiring]]
[pdfwidth=75%]
.Wiring Diagram for MCP9808.