Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Serial.println("\n\n Begin scanning bar codes.");
- for (i = 0; i<=posSize-1;){ //posSize
- while(barcode.available()==0){}; //pause the program
- if (barcode.available()){
- char c[8];
- for (int j = 0; j<=7;j++){
- c[j] = barcode.read();
- }
- Serial.println(c);
- }
- stepper2.runToNewPosition(x[i]);
- stepper1.runToNewPosition(y[i]);
- i++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement