Skip to content

Update example in MeshInterface.md #889

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

Merged
merged 1 commit into from
Jan 22, 2019
Merged

Conversation

AnotherButler
Copy link
Contributor

Point example to mesh_led_control_example.cpp instead of main.cpp.

Point example to point to mesh_led_control_example.cpp instead of main.cpp.
@@ -43,7 +43,7 @@ See the example application [mbed-os-example-mesh-minimal](https://github.com/AR

The application below demonstrates a simple light control application, where devices can control the LED status of all devices in the network. You can build the application for the unsecure 6LoWPAN-ND or Thread network.

[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-example-mesh-minimal)](https://github.com/ARMmbed/mbed-os-example-mesh-minimal/blob/mbed-os-5.10.0/main.cpp)
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-example-mesh-minimal)](https://github.com/ARMmbed/mbed-os-example-mesh-minimal/blob/mbed-os-5.10.0/mesh_led_control_example.cpp)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mesh_led_control_example.cpp is used from main.cpp. I think we need both files for this example.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each transcluded example shows one file. Users can get to the other files by clicking the blue text at the top of the rendered example. If that's not enough, we can add an example, so there are two.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, no need to add another example. I'm fine with this change.

@AnotherButler AnotherButler merged commit e035be3 into development Jan 22, 2019
@AnotherButler AnotherButler deleted the AnotherButler-patch-4 branch January 22, 2019 18:20
AnotherButler pushed a commit that referenced this pull request Jan 22, 2019
Apply changes from PR #889 to 5.11.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants