-
-
-
-
-
嘉年华:一种用于福特嘉年华的基于Atmega硬件的“固件”
嘉年华
一堆用于1.8MTDDI福特嘉年华的Atmega工具
SSD1306库: :
ds18b20库来源:版权(c)Davide Gironi
PCF8563.c创建于:2014-11-18 20:00:32作者:Jakub Pachciarek
-
-
ATmega-Skeleton
... as the arduino
ATMega Skeleton: Skeleton libraries for AVR ATmega boards such as the arduino.
Helping out with ATMega Skeleton
--------------------------------
To contribute, get started with the following:
- Fork the project and start hacking.
- Make ...
-
atmega-timers
... while(1) {
toggle();
wait1(TIMER1_PRESCALER_1024, 7812U);
}
}
- Using `timer*` functions:
#include
#include "atmega-timers.h"
// toggle PORTB status
void toggle() {
static uint8_t output = 0xff;
PORTB = output; ...
-
atmega-scheduler
... the scheduler is done by predefined constants in header file `atmega-scheduler.h`. If you want to
use other frequencies, ... own index.
# Sample Code
#include
#include "atmega-scheduler.h"
void led_on() {
PORTB = 0xff;
}
void led_off() { ...
-
atmega-adc
... ## Sample Code
- Using `adc_read`:
#include
#include "atmega-adc.h"
// In this example we toggle PORTB ... PORTB = 0;
}
}
- Using `adc_start`:
#include
#include "atmega-adc.h"
// This sample function is called on ...
-
Atmega-IO-Lib
For now supports only USART/UART interface
The implementation of a circular (ring) buffer for Atmega series in circular.h
Useful routines for reading from USART serial interface in usart.h (both synchronously and asynchronously)
-