update docs

This commit is contained in:
ZennDev1337 2023-08-15 15:30:11 +02:00
parent 10236c7441
commit c4f43a0f9d
9 changed files with 39 additions and 13 deletions

View file

@ -245,7 +245,7 @@ EEPROM is limited in the number of times it can be written to. Sketches should n
</ul>
<p>Returns
true if the specified point is within the specified rectangle.</p>
<p>This function is intended to detemine if an object, whose boundaries are are defined by the given rectangle, is in contact with the given point.</p>
<p>This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with the given point.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.collide_rect" class="method"><a class="src rightside" href="../../src/arduboy_rust/library/arduboy2.rs.html#464-469">source</a><h4 class="code-header">pub fn <a href="#method.collide_rect" class="fn">collide_rect</a>(&amp;self, rect1: <a class="struct" href="../prelude/arduboy2/struct.Rect.html" title="struct arduboy_rust::prelude::arduboy2::Rect">Rect</a>, rect2: <a class="struct" href="../prelude/arduboy2/struct.Rect.html" title="struct arduboy_rust::prelude::arduboy2::Rect">Rect</a>) -&gt; bool</h4></section></summary><div class="docblock"><p>Test if a rectangle is intersecting with another rectangle.</p>
<p>Parameters</p>
<ul>
@ -253,7 +253,7 @@ true if the specified point is within the specified rectangle.</p>
</ul>
<p>Returns
true if the first rectangle is intersecting the second.</p>
<p>This function is intended to detemine if an object, whose boundaries are are defined by the given rectangle, is in contact with another rectangular object.</p>
<p>This function is intended to detemine if an object, whose boundaries are defined by the given rectangle, is in contact with another rectangular object.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.digital_write_rgb_single" class="method"><a class="src rightside" href="../../src/arduboy_rust/library/arduboy2.rs.html#477-479">source</a><h4 class="code-header">pub fn <a href="#method.digital_write_rgb_single" class="fn">digital_write_rgb_single</a>(&amp;self, color: u8, val: u8)</h4></section></summary><div class="docblock"><p>Set one of the RGB LEDs digitally, to either fully on or fully off.</p>
<p>Parameters</p>
<ul>