/*
 * Robot_anticollission_system_cpp.cpp
 *
 * Created: 22. 5. 2017 21:59:39
 * Author : User
 */ 

 //PB7 - Interrupt from Sensor2
 //PB6 - Unused pin
 //PB5 - Programmer SCK/Unused pin
 //PB4 - Programmer MISO/Unused pin
 //PB3 - Programmer MOSI/Unused pin
 //PB2 - Unused pin
 //PB1 - Unused pin
 //PB0 - Unused pin

 //PC7 - -
 //PC6 - \RESET /Programmer RESET
 //PC5 - TWI SCL
 //PC4 - TWI SDA
 //PC3 - RS-485 Data Direction
 //PC2 - Unused pin
 //PC1 - Unused pin
 //PC0 - Unused pin

 //PD7 - Sensor 2 shutdown
 //PD6 - Sensor 3 shutdown
 //PD5 - Sensor 1 shutdown
 //PD4 - Unused pin
 //PD3 - Interrupt from Sensor1
 //PD2 - Interrupt from Sensor2
 //PD1 - RS-485 TX
 //PD0 - RS-485 RX


#ifndef F_CPU
#define F_CPU 1000000UL
#endif
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "comm.hpp"
#include "device.hpp"

int main(void)
{
	Device_init();
	while(1)
	{

	}
	return(0);
}