Skip to content

fri000/Servo8Bit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
See this code in action: https://www.youtube.com/watch?v=UvY2BeQav8k

Version History
---------------
0.7
-Bug fix: If detach() was called on a servo then subsequent calls to attach() would fail.
The detach() function now works properly.


0.6
-Added ability to easily select if this driver should use timer0 or timer1.
-Timer1 is now the default timer used. Used to be timer0.
-Made the timer init happen later to allow this driver to work when used with an attiny arduino library.
-Fixed bug where a 512 microsecond pulse would not be generated.

    
0.5 
-Initial public release



Short Guide On How To Compile
------------------------------
1) Make sure you have WinAvr installed (http://winavr.sourceforge.net/)
2) open a CMD window and navigate to the Servo8Bit folder
3) type in "make" in the CMD window and the code will be compiled
4) type in "make program" to program your Attiny. This assumes you are using a
   usb programmer (such as the AVRISP mkII).