https://miosix.org/wiki/index.php?title=Example:_Blinking_led&feed=atom&action=history
Example: Blinking led - Revision history
2024-03-19T02:21:22Z
Revision history for this page on the wiki
MediaWiki 1.39.6
https://miosix.org/wiki/index.php?title=Example:_Blinking_led&diff=113&oldid=prev
Fede.tft at 11:05, 25 April 2014
2014-04-25T11:05:57Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:05, 25 April 2014</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Simple blink ===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Simple blink ===</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">This example file can be found in ''miosix/_examples/blinking_led/simple.cpp''</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><source lang="cpp"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><source lang="cpp"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#include <cstdio></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#include <cstdio></div></td></tr>
</table>
Fede.tft
https://miosix.org/wiki/index.php?title=Example:_Blinking_led&diff=43&oldid=prev
Andreabont: Andreabont moved page Blinking led to Example: Blinking led
2014-04-13T21:03:50Z
<p>Andreabont moved page <a href="/wiki/index.php?title=Blinking_led&action=edit&redlink=1" class="new" title="Blinking led (page does not exist)">Blinking led</a> to <a href="/wiki/index.php?title=Example:_Blinking_led" title="Example: Blinking led">Example: Blinking led</a></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:03, 13 April 2014</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Andreabont
https://miosix.org/wiki/index.php?title=Example:_Blinking_led&diff=42&oldid=prev
Andreabont at 21:01, 13 April 2014
2014-04-13T21:01:42Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:01, 13 April 2014</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>== Simple <del style="font-weight: bold; text-decoration: none;">Example </del>==</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">=</ins>== Simple <ins style="font-weight: bold; text-decoration: none;">blink =</ins>==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><source lang="cpp"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><source lang="cpp"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#include <cstdio></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>#include <cstdio></div></td></tr>
</table>
Andreabont
https://miosix.org/wiki/index.php?title=Example:_Blinking_led&diff=3&oldid=prev
Andreabont: Created page with "== Simple Example == <source lang="cpp"> #include <cstdio> #include <unistd.h> #include "miosix.h" using namespace std; using namespace miosix; typedef Gpio<GPIOC_BASE,7> l..."
2014-04-12T20:28:08Z
<p>Created page with "== Simple Example == <source lang="cpp"> #include <cstdio> #include <unistd.h> #include "miosix.h" using namespace std; using namespace miosix; typedef Gpio<GPIOC_BASE,7> l..."</p>
<p><b>New page</b></p><div>== Simple Example ==<br />
<source lang="cpp"><br />
#include <cstdio><br />
#include <unistd.h><br />
#include "miosix.h"<br />
<br />
using namespace std;<br />
using namespace miosix;<br />
<br />
typedef Gpio<GPIOC_BASE,7> led;<br />
<br />
int main()<br />
{<br />
<br />
led::mode(Mode::OUTPUT);<br />
<br />
for(;;) {<br />
led::high();<br />
sleep(1);<br />
led::low();<br />
sleep(1);<br />
}<br />
<br />
return 0;<br />
<br />
}<br />
</source><br />
<br />
[[Category:Examples]]</div>
Andreabont