Skip to content

Commit b9d10eb

Browse files
Examples: Minor edit to sensor example for better serial output.
1 parent b5d5c9f commit b9d10eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/sensors.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020 Micro:bit Educational Foundation and contributors
2+
* Copyright 2020-2022 Micro:bit Educational Foundation and contributors
33
* SPDX-License-Identifier: Apache-2.0
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -112,7 +112,7 @@ int main(void) {
112112
printf("\nLSM Acc: [X:%d] [Y:%d] [Z:%d]\n", accLsmData[0], accLsmData[1], accLsmData[2]);
113113
printf("LSM Mag: [X:%d] [Y:%d] [Z:%d]\n", magLsmData[0], magLsmData[1], magLsmData[2]);
114114
#endif
115-
printf("---------\n");
116-
nrf_delay_ms(500);
115+
printf("\n---------\n");
116+
nrf_delay_ms(200);
117117
}
118118
}

0 commit comments

Comments
 (0)