Permalink
Browse files

Claw fixed, Stupid buzzer removed. This version actually works!

  • Loading branch information...
1 parent 6f97e54 commit 044c6788adeb59539beac2fcb6b595b48899c13a @superatrain superatrain committed Dec 7, 2011
Showing with 1 addition and 14 deletions.
  1. +1 −14 SerialComms/SerialComms.pde
@@ -31,7 +31,7 @@ a - Toggle move until IR hit then reverse
d - Automatic laser DEMO
R - Reset
-Notice: Claw is on Motor 2's pin. Do not use motor 2!
+Notice: Claw is on Motor 1's pin. Buzzer is on pin
*/
#include <AFMotor.h>
@@ -268,19 +268,6 @@ void loop() {
//IR marker readout
IRMarkerMessage = !IRMarkerMessage;
break;
- case 'T':
- digitalWrite(LaserPowerPin,1);
- tone(3, 5000, 200);
- delay(200);
- tone(3,4800,50);
- digitalWrite(LaserPowerPin,0);
- delay(300);
- digitalWrite(LaserPowerPin,1);
- tone(3, 5000, 200);
- delay(200);
- tone(3,4800,50);
- digitalWrite(LaserPowerPin,0);
- break;
case 'L':
// Laser on:
laserOn=true;

0 comments on commit 044c678

Please sign in to comment.