interfacing a barcode scanner with arduino

Did you have a particular barcode scanner in mind, or is this a general "how to" question?

To activate the LED, set the appropriate port pin HIGH or LOW as required by the wiring.