Skip to content
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

Update Examples #115

Merged
merged 3 commits into from
Sep 29, 2023
Merged

Update Examples #115

merged 3 commits into from
Sep 29, 2023

Conversation

zfields
Copy link
Contributor

@zfields zfields commented Sep 29, 2023

No description provided.

// Note that both of these definitions are optional; just prefix either line
// with `//` to remove it.
// - Remove txRxPinsSerial if you wired your Notecard using I2C SDA/SCL pins
// instead of serial RX/TX
Copy link
Contributor Author

@zfields zfields Sep 29, 2023

Choose a reason for hiding this comment

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

Removed comment, because it is not possible to easily use I2C without the library.

@@ -90,7 +87,6 @@ void loop()
static unsigned eventCounter = 0;
if (++eventCounter > 25)
{
txRxPinsSerial.println("Demo cycle complete. Program stopped. Press RESET to restart.");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Serial channel is used to communicate with the Notecard, not to log.

@@ -168,16 +168,6 @@ void loop()
notecard.logDebug("performing sensor measurement\n");
lastStatusMs = millis();

// Count the simulated measurements that we send to the cloud, and stop the
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no reason to count and stop, because this demo is based on button presses.

@@ -109,18 +109,18 @@ jobs:
- ./examples/Example8_BinarySendReceive/Example8_BinarySendReceive.ino
- ./examples/Example9_BinarySendReceiveChunked/Example9_BinarySendReceiveChunked.ino
fully-qualified-board-name:
- STMicroelectronics:stm32:BluesW:pnum=SWAN_R5
Copy link
Contributor Author

Choose a reason for hiding this comment

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

alphabetized the list; librarian style.

@zfields zfields merged commit 404630f into master Sep 29, 2023
84 checks passed
@zfields zfields deleted the zak-bin-ex-upd branch September 29, 2023 22:19
@zfields
Copy link
Contributor Author

zfields commented Oct 2, 2023

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