Skip to content
Snippets Groups Projects
Commit d3c039b1 authored by Carl Österberg's avatar Carl Österberg
Browse files

bare8_4

parent 02917738
No related branches found
No related tags found
No related merge requests found
...@@ -76,14 +76,12 @@ const APP: () = { ...@@ -76,14 +76,12 @@ const APP: () = {
match block!(rx.read()) { match block!(rx.read()) {
Ok(byte) => { Ok(byte) => {
received += 1; received += 1;
rprintln!("Ok {:b}", byte); rprintln!("Ok {:b} Nmbr {:?}", byte, received);
rprintln!("Nmbr bytes rec {:?}",received);
tx.write(byte).unwrap(); tx.write(byte).unwrap();
} }
Err(err) => { Err(err) => {
errors += 1; errors += 1;
rprintln!("Error {:?}", err); rprintln!("Error {:?} Nmbr {:?}", err, errors);
rprintln!("Nmbr errors rec {:?}",errors);
} }
} }
} }
...@@ -172,7 +170,7 @@ const APP: () = { ...@@ -172,7 +170,7 @@ const APP: () = {
// 3. Experiment a bit, what is the max length sequence you can receive without errors? // 3. Experiment a bit, what is the max length sequence you can receive without errors?
// //
// ** your answer here ** // ** your answer here **
// // 4 but super inconsistently
// //
// How did the added tracing/instrumentation affect the behavior? // How did the added tracing/instrumentation affect the behavior?
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment