Skip to content

Commit

Permalink
Increase delay before sending firts messages to Dataplotter
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitmark committed Mar 15, 2024
1 parent 1032ec2 commit f87def7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16)

include(lib/pico-sdk/pico_sdk_init.cmake)

project(elascope VERSION 0.7.0)
project(elascope VERSION 0.7.1)



Expand Down
5 changes: 3 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ int main() {
usb_was_connected = true;
dterminal.set_screen(s0::index);
gpio_put(led_pin, true);
busy_wait_ms(1);
busy_wait_ms(2);
dataplotter.send_info("Connected");
busy_wait_ms(1);
dataplotter.send_setting("noclickclr:40,48.5.31,48.5.160,48.5.164");
busy_wait_ms(1);
dterminal.print_static_elements(true);
Expand Down Expand Up @@ -467,4 +468,4 @@ int main() {
}
}
return 0;
}
}

0 comments on commit f87def7

Please sign in to comment.