error compiling

Store Forums Video Experimenter Bugs/Problems error compiling

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #400
    darkgoresss
    Member

    Hi, I´m new on arduino and on my searchings in the diferent forums, i find a few answers with the arduino sketch…

    my problem is in the softwareserial.cpp… the error of compilation is the following

    NewSoftSerial.cpp:518: error: no ‘void SoftwareSerial::enable_timer0(bool)’ member function declared in class ‘SoftwareSerial’

    the lines are these:

    void SoftwareSerial::enable_timer0(bool enable)
    {
    if (enable)
    #if defined(__AVR_ATmega8__)
    sbi(TIMSK, TOIE0);
    #else
    sbi(TIMSK0, TOIE0);
    #endif
    else
    #if defined(__AVR_ATmega8__)
    cbi(TIMSK, TOIE0);
    #else
    cbi(TIMSK0, TOIE0);
    #endif
    }

    void SoftwareSerial::flush()
    {
    if (active_object == this)
    {
    uint8_t oldSREG = SREG;
    cli();
    _receive_buffer_head = _receive_buffer_tail = 0;
    SREG = oldSREG;
    }
    }

    #1482
    Michael
    Keymaster

    Are you sure you installed the library in the correct place and restarted Arduino?

    #1483
    darkgoresss
    Member

    yes, i follow the steps and the error was the same

    #1484
    Michael
    Keymaster

    I guess I don’t know why you can’t compile the library. The directory ‘NewSoftSerial’ should be in the directory ‘libraries’ in your Arduino sketchbook. I don’t know which program you are trying to compile….are you including the header file?

    #include 
    #1486
    darkgoresss
    Member

    the directory “newsoftserial” not in the library, since the IDE I’m using is the 1.0, and is only the directory SoftwareSerial

    Here is the sketch attached

    #1487
    Michael
    Keymaster

    You need to install NewSoftSerial correctly as a library.

    libraries
    |
    + NewSoftSerial
    |
    +- NewSoftSerial.h
    +- NewSoftSerial.cpp
    #1498
    darkgoresss
    Member

    i have a question. what is the best ide for NewsoftSerial library?

    #1499
    Michael
    Keymaster

    It is an Arduino library. It is to be used with Arduino.

    #1500
    darkgoresss
    Member

    what happens is that the ide 1.0, requires me newsoftserial change references to SoftwareSerial

    #1501
    Michael
    Keymaster

    I’m sorry, I just don’t know what problem you are having. I didn’t write NewSoftSerial.

    This is a forum for the Video Experimenter shield. Are you having problems with a Video Experimenter?

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.