]> git.droids-corp.org - aversive.git/blobdiff - projects/microb2010/mainboard/main.h
current limit on shovel
[aversive.git] / projects / microb2010 / mainboard / main.h
index ff86dd26798e929c8e840a16bea1b03a044849db..00b6e8630b7e0d3abeae7d6d9cd5ebb196d9cc6b 100755 (executable)
@@ -19,7 +19,7 @@
  *
  */
 
  *
  */
 
-/* was mechboard in 2009 */
+/* was sensorboard in 2009 */
 
 #define LED_TOGGLE(port, bit) do {             \
                if (port & _BV(bit))            \
 
 #define LED_TOGGLE(port, bit) do {             \
                if (port & _BV(bit))            \
@@ -196,6 +196,8 @@ struct mainboard {
 struct cobboard {
        uint8_t mode;
        uint8_t status;
 struct cobboard {
        uint8_t mode;
        uint8_t status;
+       uint8_t lspickle;
+       uint8_t rspickle;
        int16_t left_cobroller_speed;
        int16_t right_cobroller_speed;
        uint8_t cob_count;
        int16_t left_cobroller_speed;
        int16_t right_cobroller_speed;
        uint8_t cob_count;
@@ -206,6 +208,8 @@ struct ballboard {
        volatile uint8_t mode;
        uint8_t status;
        uint8_t ball_count;
        volatile uint8_t mode;
        uint8_t status;
        uint8_t ball_count;
+       uint8_t lcob;
+       uint8_t rcob;
 };
 
 extern struct genboard gen;
 };
 
 extern struct genboard gen;