From 4260e817de6a89112414f45ced66bb8756054980 Mon Sep 17 00:00:00 2001 From: grammers <samkar-4@student.ltu.se> Date: Thu, 15 Feb 2018 00:26:25 +0000 Subject: [PATCH] bare6 task 3,4 --- examples/bare6.rs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/examples/bare6.rs b/examples/bare6.rs index 8132f1d..44b40ef 100644 --- a/examples/bare6.rs +++ b/examples/bare6.rs @@ -111,15 +111,16 @@ fn idle(dwt: &mut DWT, rcc: &mut RCC, gpioa: &mut GPIOA) { // // what is the frequency of MCO2 read by the oscilloscope // ** your answer here ** -// 2.169 KHz low signal amplitude +// 2 - 10 KHz +// // // compute the value of SYSCLK based on the oscilloscope reading // ** your answer here ** -// 2.2 * 4 = 8.8 KHz +// 2 - 10 * 4 = 8-40 KHz // // what is the peak to peak reading of the signal // ** your answer here ** -// 1.38 V +// 1.8 V // // // make a folder called "pictures" in your git project @@ -138,18 +139,22 @@ fn idle(dwt: &mut DWT, rcc: &mut RCC, gpioa: &mut GPIOA) { // // what is the frequency of blinking // ** your answer here ** -// +// 8 Hz // commit your answers (bare6_3) // // 4. repeat the experiment 2 // what is the frequency of MCO2 read by the oscilloscope // ** your answer here ** +// 5-14 KHz // // compute the value of SYSCLK based on the oscilloscope reading // ** your answer here ** +// 5-14 * 4 = 20- 60 KHz +// // what is the peak to peak reading of the signal // // ** your answer here ** +// ca 1.8 V // // make a screen dump or photo of the oscilloscope output // sove the the picture as "bare_6_64mhz_high_speed" -- GitLab