-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation changes (first half): Use only a single README.md per device #1611
Conversation
src/devices/Bmxx80/README.md
Outdated
@@ -17,6 +16,81 @@ The implementation supports the following devices: | |||
|
|||
3 examples on how to use this device binding are available in the [samples](samples) folder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved it after the basic usage
src/devices/BrickPi3/README.md
Outdated
@@ -311,3 +311,47 @@ The only supported sensors in the GrovePi port present on BrickPi3 are I2C senso | |||
|
|||
A series of hardware tests for motors and sensors are available in [BrickPi3.samples](./samples). Those hardware tests offers a variety of low level access to the Brick class as well as high level thru the Motor and Sensor classes. | |||
|
|||
## Example | |||
|
|||
Refer to the [sample code](./samples) to understand on which port you'll need to plug motors and sensors. The available tests are the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggesting to remove links to samples - this will not look good if we port these docs to the official documentation - most likely the link will be broken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good catch. We may then want to replace by an absolute link on the repo?
src/devices/CharacterLcd/README.md
Outdated
## References | ||
## Character LCD display Samples | ||
|
||
[Different samples](./samples) are provided. The main method will use the Board's Gpio pins to drive the LCD display. The second example will instead use an MCP Gpio extender backpack to drive the LCD display. Also the second example can use Grove RGB LCD Backlight via i2c bus. This second example has been tested on a CrowPi device and Grove LCD RGB Backlight device. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
src/devices/Dhtxx/README.md
Outdated
|
||
#### I2C Protocol | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
 | |
 |
src/devices/Dhtxx/README.md
Outdated
|
||
This sample application allows you to select either a DHT10 through I2C either any other supported DHT through GPIO: | ||
|
||
```texy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```texy | |
```text |
src/devices/Display/README.md
Outdated
@@ -38,7 +35,7 @@ Thread.Sleep(5000); | |||
// Turn on buffering | |||
display.BufferingEnabled = true; | |||
|
|||
// Write -42�C to display using "decimal point" between 3rd and 4th digit as the � character | |||
// Write -42�C to display using "decimal point" between 3rd and 4th digit as the � character |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Write -42�C to display using "decimal point" between 3rd and 4th digit as the � character | |
// Write -42°C to display using "decimal point" between 3rd and 4th digit as the ° character |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with few nits
The idea is that samples/README.md should not exist and only one README.md file per device should be used.
This will make it easier to make READMEs visible in the documentation.
See #1610 for the second part
Microsoft Reviewers: Open in CodeFlow