Commit b19fbe98 authored by anithghalley's avatar anithghalley
Browse files

update for output assignment 2

parent 2ea5a001
Pipeline #313736 passed with stage
in 47 seconds
......@@ -105,6 +105,8 @@ The Assembeld board is shown below.
## Programming
### Using SoftwareServo Library.
First I tried to run the arduino Library servo sweep code in the AtTiny45 but that didnt work.
So after exploring and browsing over I came up with the Library [SoftwareServo](https://docs.google.com/file/d/0B6s_UhmkBLQfVTVQWEh6aS1yb0E/edit?resourcekey=0-YLUSGGAxUVQoTE2x2A6OZw). Then the library was added to my Arduino IDE Libraries.
......@@ -127,10 +129,25 @@ The video below shows the output device servo motor controlled by the AtTiny45 c
<source src="../../images/output/videos/servo.mp4" type="video/mp4">
</video>
### Using Adafruit SoftServo Library.
The Library will be added same way as shown for the SoftwareServo library.
Under this library only one example is available called Trinket knob.
![](../images/output/ada_example.png)
## Servo Output.
I took this example and manipulate the code to run only one servo without a knob. The sketch can be found under files at the end.
And the video below shows the code execution with the adafruit soft servo library.
<video width="600" controls>
<source src="../../images/output/videos/ada_servo.mp4" type="video/mp4">
</video>
# Files.
- [SoftwareServo Library](../files/output/SoftwareServo.zip)
- [Adafruit_SoftServo Library](../files/output/Adafruit_SoftServo-master.zip)
- [Manipulated Trinket Knob Code](../files/output/adafru_softservo.zip)
-
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment