So thats basically it, the project I am working on is a laser tripwire that sounds a piezo buzzer. The plans I used had me going from pin 11 to piezo + then the negative to ground via 10k resistor. The buzzer would sound but almost inaudibly. I then removed the resistor and the buzzer worked properly, and a 330 resistor seemed to slit the differences.
My question is by bypassing the resistor am I doing harm to my Arduino???