Skip to content

Commit

Permalink
deploy: e4c605f
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulTrombin committed Nov 28, 2024
1 parent 9df1afc commit 9d2a2b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/src/navigator_rs/icm20689.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@

<span class="kw">let </span>cs_pin = Pin::new(<span class="self">self</span>.cs_pin_number);
cs_pin.export()<span class="question-mark">?</span>;
std::thread::sleep(std::time::Duration::from_millis(<span class="number">30</span>));
std::thread::sleep(std::time::Duration::from_millis(<span class="number">60</span>));
cs_pin.set_direction(Direction::Out)<span class="question-mark">?</span>;
cs_pin.set_value(<span class="number">1</span>)<span class="question-mark">?</span>;

Expand Down
2 changes: 1 addition & 1 deletion doc/src/navigator_rs/leak.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<span class="kw">pub fn </span>build(<span class="self">self</span>) -&gt; <span class="prelude-ty">Result</span>&lt;LeakDetector, Box&lt;<span class="kw">dyn </span>Error&gt;&gt; {
<span class="kw">let </span>pin = Pin::new(<span class="self">self</span>.pin_number);
pin.export()<span class="question-mark">?</span>;
sleep(Duration::from_millis(<span class="number">30</span>));
sleep(Duration::from_millis(<span class="number">60</span>));
pin.set_direction(Direction::In)<span class="question-mark">?</span>;
<span class="prelude-val">Ok</span>(LeakDetector {
pin,
Expand Down
2 changes: 1 addition & 1 deletion doc/src/navigator_rs/led.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
<span class="kw">for </span><span class="kw-2">&amp;</span>pin_number <span class="kw">in </span><span class="kw-2">&amp;</span><span class="self">self</span>.pins {
<span class="kw">let </span>pin = Pin::new(pin_number);
pin.export().expect(<span class="string">"Failed to export LED pin"</span>);
sleep(Duration::from_millis(<span class="number">30</span>));
sleep(Duration::from_millis(<span class="number">60</span>));
pin.set_direction(Direction::Out)
.expect(<span class="string">"Failed to set direction"</span>);
pin.set_value(<span class="number">1</span>).expect(<span class="string">"Failed to set initial LED value"</span>);
Expand Down
2 changes: 1 addition & 1 deletion doc/src/navigator_rs/pca9685.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
<span class="kw">let </span>oe_pin = {
<span class="kw">let </span>pin = Pin::new(<span class="self">self</span>.oe_pin_number);
pin.export()<span class="question-mark">?</span>;
sleep(Duration::from_millis(<span class="number">30</span>));
sleep(Duration::from_millis(<span class="number">60</span>));
pin.set_direction(Direction::High)<span class="question-mark">?</span>;
pin
};
Expand Down

0 comments on commit 9d2a2b1

Please sign in to comment.