|
Synergia AVR 0.1
|
#include <avr/io.h>#include <avr/interrupt.h>#include <util/delay.h>#include "../lib/usart/usart.h"Go to the source code of this file.
Defines | |
| #define | min(a, b) ((a) < (b) ? (a) : (b)) |
Functions | |
| USART32 (usb) | |
| SIGNAL (SIG_INTERRUPT0) | |
| SIGNAL (SIG_ADC) | |
| void | init () |
| int | main (void) |
Variables | |
| unsigned char | command = 0 |
| int | pwm_value = 0 |
| char | dir = 0 |
| volatile int | adc_value = 0 |
| volatile int | enc_value = 0 |
| USART32 | ( | usb | ) |