blackbox/lowlevel.c

changeset 91
e0738355b517
parent 89
4b5b4c7ba03d
equal deleted inserted replaced
90:7ed95dbadf1f 91:e0738355b517
76 CONTROLLER_PORT |= (_BV(CONTROLLER1_SW) | _BV(CONTROLLER2_SW) | _BV(CONTROLLER3_SW) | _BV(CONTROLLER4_SW)); 76 CONTROLLER_PORT |= (_BV(CONTROLLER1_SW) | _BV(CONTROLLER2_SW) | _BV(CONTROLLER3_SW) | _BV(CONTROLLER4_SW));
77 77
78 // switch pull-ups 78 // switch pull-ups
79 SW_FUEL_PORT |= _BV(SW_FUEL); 79 SW_FUEL_PORT |= _BV(SW_FUEL);
80 SW_START_PORT |= _BV(SW_START); 80 SW_START_PORT |= _BV(SW_START);
81 SW_PACECAR_PORT |= _BV(SW_PACECAR); 81 //SW_PACECAR_PORT |= _BV(SW_PACECAR);
82 82
83 // control outputs 83 // control outputs
84 DDR(LAP_COUNTER_PORT) |= _BV(LAP_COUNTER); 84 DDR(LAP_COUNTER_PORT) |= _BV(LAP_COUNTER);
85 85
86 // setup rail control 86 // setup rail control

mercurial