29 lines
385 B
C
29 lines
385 B
C
#include "common.h"
|
|
#include "bus/usart.h"
|
|
#include "bus/twi.h"
|
|
|
|
#include <avr/interrupt.h>
|
|
#include <util/delay.h>
|
|
#define Sleep(ms) _delay_ms(ms)
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
USART_Init();
|
|
TWI_Init();
|
|
|
|
sei();
|
|
|
|
Info("Initializing...");
|
|
Sleep(500);
|
|
|
|
// ADS1115 (ADC)
|
|
// PCA9546 (Multiplexer TWI)
|
|
// ATH20 (3x)
|
|
// BMP280 (3x)
|
|
|
|
UNUSED(argc);
|
|
UNUSED(argv);
|
|
|
|
return 0;
|
|
}
|