how to code
If the IR and Inductive sensors was triggered, the servo will turn from 90 to 0 degrees indicating that the trash is an Aluminum can, if the IR sensor was triggered but te inductive was not, it means the trash was plastic, thus, the servo will rotate from 90 to 180 degrees.
like...