Results 1 to 4 of 4

Thread: MINI Robocontroller Libraries and Arduino 1.0

  1. MINI Robocontroller Libraries and Arduino 1.0

    I just updated to the latest release of the arduino IDE and it is not playing well with the libraries for the MiniRobocontroller. When I try to compile with the Motors library I get:

    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:23:20: error: wiring.h: No such file or directory
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp: In constructor 'Motors::Motors()':
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:33: error: 'OUTPUT' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:33: error: 'pinMode' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:41: error: 'LOW' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:41: error: 'digitalWrite' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:43: error: 'analogWrite' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:45: error: 'OCR0B' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:45: error: 'OCR0A' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp: In member function 'void Motors::left(int)':
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:52: error: 'LOW' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:52: error: 'digitalWrite' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:53: error: 'TCCR0A' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:53: error: 'COM0B1' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:53: error: 'COM0B0' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:56: error: 'LOW' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:56: error: 'digitalWrite' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:57: error: 'TCCR0A' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:57: error: 'COM0B1' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:58: error: 'COM0B0' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:60: error: 'HIGH' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:60: error: 'digitalWrite' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:61: error: 'TCCR0A' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:61: error: 'COM0B1' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:61: error: 'COM0B0' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:66: error: 'OCR0B' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp: In member function 'void Motors::right(int)':
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:74: error: 'LOW' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:74: error: 'digitalWrite' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:75: error: 'TCCR0A' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:75: error: 'COM0A1' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:75: error: 'COM0A0' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:78: error: 'LOW' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:78: error: 'digitalWrite' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:79: error: 'TCCR0A' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:79: error: 'COM0A1' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:80: error: 'COM0A0' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:82: error: 'HIGH' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:82: error: 'digitalWrite' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:83: error: 'TCCR0A' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:83: error: 'COM0A1' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:83: error: 'COM0A0' was not declared in this scope
    /Users/jeffreydamelio/Documents/Arduino/libraries/Motors/Motors.cpp:88: error: 'OCR0A' was not declared in this scope

    This makes my robot and I sad. Any help is much appreciated, as usual if there is any extra info I can provide to speed up a solution please let me know!
    Sorry for the error wall

  2. #2
    Join Date
    May 2008
    Posts
    2,228
    Images
    155
    Rep Power
    125

    Re: MINI Robocontroller Libraries and Arduino 1.0

    A lot of things have changed in Arduino 1.0. We will have an Arduino-1.0 compatible release shortly, but it's not yet ready.

    -Fergs

  3. Re: MINI Robocontroller Libraries and Arduino 1.0

    Awesome Thanks!

  4. #4

    Re: MINI Robocontroller Libraries and Arduino 1.0

    One of the 1.0 changes was that wiring.h is no longer used and now you need to use arduino.h instead.
    This is the error you have right now. You need to replace

    #include <wiring.h>

    with

    #include <Arduino.h>

    in the libraries which show the error.

    May be best to use earlier version of Arduino for now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MINI Robocontroller sketch issues
    By draikani in forum Software and Programming
    Replies: 4
    Last Post: 06-11-2011, 06:53 PM
  2. Mini RoboController /Target Panel Setup
    By elaughlin in forum Mech Warfare
    Replies: 10
    Last Post: 12-12-2010, 10:30 PM
  3. News/Announcement RX-28 and RX-64 Open-Source (Python) Libraries Available
    By hizook in forum Robotics General Discussion
    Replies: 1
    Last Post: 03-19-2010, 10:02 PM
  4. Question(s) arbotiX Robocontroller Specifications(noob)
    By Bunkerman in forum Arbotix, Microcontrollers, Arduino
    Replies: 6
    Last Post: 03-18-2010, 07:33 AM
  5. News/Announcement arbotiX Robocontroller Now Available!
    By DresnerRobotics in forum Arbotix, Microcontrollers, Arduino
    Replies: 16
    Last Post: 10-14-2009, 03:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •