Skip to content
Snippets Groups Projects
Commit f50765ba authored by Ahmad Fares's avatar Ahmad Fares
Browse files

-m updating links between pages

parent b5702e10
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -55,7 +55,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
<p>ATTiny44 has 14 pins, 12 of them are for reading inputs and applying outputs. An input or an output can be either digital or analog. Any operation of a computer or a micro controller is simply a 0 or 1 which is 0v or 5v, digital is represented by 0 and 1 whereas the analog is represented as voltage range.</p>
<p>The micro controller should know if a specific pin will be used as an input or an output. If it is an input, the DDR register has to be 0 then it should know if it will write or read a specific pin. If the pin is an input and the operation is to write then the 0 is to deactivate pull up resistor and 1 is to activate pull up resistor, if the operation is to read then 0 is means 0v and 1 means 5v. If the pin is output, DDR registers has to be 1 then if it writes 0 means 0v and 1 means write 5v.</p>
<p>The process programmatically can be seen in the following code which I have used as the starting point in C programming.</p>
<p>Hardware is explained in Electronics documentation</p>
<p>Hardware is explained in <a href="http://preacademy.fabcloud.io/preacademy2018/participants/fares.ahmad/electronics/electronics.html">Electronics documentation</a></p>
<div class="sourceCode"><pre class="sourceCode c"><code class="sourceCode c"><span class="co">/*</span>
<span class="co">This code was created by Ahmad Fares on 4th-Dec-2017.</span>
<span class="co">The code is used to switch on an LED when a Button is pressed.</span>
......
......@@ -16,7 +16,7 @@ The micro controller should know if a specific pin will be used as an input or a
The process programmatically can be seen in the following code which I have used as the starting point in C programming.
Hardware is explained in Electronics documentation
Hardware is explained in [Electronics documentation](http://preacademy.fabcloud.io/preacademy2018/participants/fares.ahmad/electronics/electronics.html)
```C
/*
......
......@@ -213,7 +213,7 @@ pcb <span class="op">=</span> wire(pcb,w,J1.pad[<span class="dv">2</span>],R2.pa
<h4 id="producing-my-first-board">Producing my first board</h4>
<p>Now that the design is ready, I have produced the PCB using the SRM-20 machine and started soldering the components. After I have finished soldering the micro controller I have found that it is not soldered in the correct orientation ! I had to desolder it using the heat gun and remove the solder by the wick then solder it again.</p>
<h4 id="programming-1">Programming</h4>
<p>Programming in C is explained in the programming documentation <a href="http://preacademy.fabcloud.io/preacademy2018/participants/fares.ahmad/C-programming/C-programming.html">here</a></p>
<p>Programming in C is explained in the <a href="http://preacademy.fabcloud.io/preacademy2018/participants/fares.ahmad/C-programming/C-programming.html">programming documentation</a></p>
<p>My board is ready to be programmed, the program is written in <strong>C</strong> and the programmer which I milled previously will be used as the interface between my computer and the board.</p>
<p>The code is shown bellow</p>
<div class="sourceCode"><pre class="sourceCode c"><code class="sourceCode c">
......
......@@ -187,7 +187,7 @@ Now that the design is ready, I have produced the PCB using the SRM-20 machine a
#### Programming
Programming in C is explained in the programming documentation [here](http://preacademy.fabcloud.io/preacademy2018/participants/fares.ahmad/C-programming/C-programming.html)
Programming in C is explained in the [programming documentation](http://preacademy.fabcloud.io/preacademy2018/participants/fares.ahmad/C-programming/C-programming.html)
My board is ready to be programmed, the program is written in **C** and the programmer which I milled previously will be used as the interface between my computer and the board.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment