User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

octobrite_on_attiny84_with_hw_spi [2010/10/22 03:00]
macegr created
octobrite_on_attiny84_with_hw_spi [2010/10/22 03:04] (current)
Line 1: Line 1:
 +This code is a basic example of using hardware SPI on the ATTiny24/​44/​84. The inline coding of software-triggered clock pulses allows the bit rate to approach F/2 (F = AVR clock frequency), or 4MHz with an internal 8MHz clock.
 <​code=c>#​include <​avr/​io.h>​ <​code=c>#​include <​avr/​io.h>​
 #include <​util/​delay.h>​ #include <​util/​delay.h>​
/home/macetec/public_html/docs/data/pages/octobrite_on_attiny84_with_hw_spi.txt ยท Last modified: 2010/10/22 03:04 by macegr