Of course! The "=" is used to assign values and the "==" returns true if it equals on both sides right?
I have now made some corrections in my code.
if (Laser == LOW){
wire++;
if (wire == (wireTotal / LEDs)){
and
if (wire > wireTotal){
wire = 0;
When I verify the code in the Arduino SDK I get these errors:
sketch_sep13a.cpp: In function 'void loop()':
sketch_sep13a:20: error: 'Laser' was not declared in this scope
sketch_sep13a:21: error: 'wire' was not declared in this scope
sketch_sep13a:22: error: 'wireTotal' was not declared in this scope
sketch_sep13a:22: error: 'LEDs' was not declared in this scope
sketch_sep13a:23: error: 'LED1' was not declared in this scope
sketch_sep13a:24: error: 'LED2' was not declared in this scope
sketch_sep13a:25: error: 'LED3' was not declared in this scope
sketch_sep13a:26: error: 'LED4' was not declared in this scope
sketch_sep13a:27: error: 'LED5' was not declared in this scope
sketch_sep13a:35: error: 'wireTotal' was not declared in this scope
I find this very strange as I already declared the variables in the void setup()...