Candy sorter A simple candy sorter written for the ATMega2560 development board, it uses one light sensors to control one motor to sort a pile of candy of two different coloured pieces into two piles where each piece will have the same colour.