Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: utils.cpp
- Revision:
- 12:58ad06f9847d
- Parent:
- 10:e63fe4080760
--- a/utils.cpp Fri Oct 04 09:58:51 2019 +0000
+++ b/utils.cpp Fri Oct 04 22:20:23 2019 +0000
@@ -9,13 +9,14 @@
InterruptIn b_UTILS_button(USER_BUTTON);
InterruptIn b_UTILS_emergency_signal(PD_0);
+InterruptIn b_UTILS_startOnPin(PD_1);
int i,j;
void it_pressed()
{
if(t_utils_timerSinceStart.read_ms() > 500) {
- rs_LOG_pc.printf("Button pressed; log ready: %d\r\n",b_LOG_READY);
+ rs_LOG.printf("Button pressed; log ready: %d\r\n",b_LOG_READY);
if(b_LOG_READY) {
log_pc();
b_LOG_READY = false;