Code Monkey home page Code Monkey logo

avr-ultimate-driver-pack's Introduction

This is the AVR Ultimate Drivers Pack for ATMega328/ATTiny/ARDUINO.

All drivers are in C and can be compiled into a driver lib using:

cmake . && make

NOTE: if you don't have cmake, you don't need it. Just add the files you need to your own project makefile and compile them in as is.

I have not tested ALL of the drivers, but I have used many of them. Some drivers may need configuration on your part. But all the code is there to study and improve.

One improvement that can be done is interrupt support for all the drivers.

New drivers:

  • avrbus.c - driver for my custom SPI with addressing support

  • time.c - timer driver that runs timer1 at clock speed and can calculate exact delays and timeouts.

Contributors:

Usage:

Many of the driver header files are pretty much self explanatory. You first init the device, then communicate with it. Then debug if it doesn't work :) If it doesn't work, it could be that you have connected your device to wrong pins that are not configured in the driver. But once you get your hardware wired correctly, the drivers should work fine.

avr-ultimate-driver-pack's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.