I'm planning to make an line follower bot using the axon mcu and some Ir sensors. For the programming part i referred the photovore program and i found the libraries are specific for ATmega8 uC. So i need to edit the library files according to ATmega640 rite? and according to the pins i connect the sensors to the mcu board, say if i connect the left sensor to ADC pin 1 & right sensor to ADC pin2, left servo to pin E2 & right servo to pin E3, what are all the things do i need to change in the library files? and this is my program
turn right;// needs modification
turn left;//needs modification
go straight;//needs modification
sorry for not writing comments in the programs!