Revision fcddafaf

View differences:

paintboard/code/main.c
108 108
    internal_data[PAINT_INPUT_1] = !(!(_BV(METAL_DETECT) & PIND));
109 109
    if (internal_data[PAINT_INPUT_1]) {
110 110
      set_servo1(-128);
111
      set_motor1(0);
112
      set_motor2(0);
111 113
    } else {
112 114
      set_servo1(127);
115
      set_motor1(127);
116
      set_motor2(127);
113 117
    }
114 118
    servo_pulse();
115 119
    /* TODO geiger counter */

Also available in: Unified diff