View Single Post
Old 12/03/2012, 01:43 AM   #1151
shellydsilva
Registered Member
 
Join Date: Aug 2010
Posts: 4
Quote:
Originally Posted by O2Surplus View Post
The original Typhon firmware was written in Arduino 18. It will compile properly using any version up to Arduino 23.
I used Arduino 18 to compile the code and received the following error messages:

**********************************************************C:\Users\Aqua\Documents\Arduino\libraries\ Wire\Wire.cpp:78: error: prototype for 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t, uint8_t)' does not match any in class 'TwoWire'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\/Wire.h:53: error: candidates are: uint8_t TwoWire::requestFrom(int, int)

C:\Users\Aqua\Documents\Arduino\libraries\Wire\/Wire.h:52: error: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp: In member function 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t)':

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:95: error: no matching function for call to 'TwoWire::requestFrom(uint8_t, uint8_t, uint8_t)'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:93: note: candidates are: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)

C:\Users\Aqua\Documents\Arduino\libraries\Wire\/Wire.h:53: note: uint8_t TwoWire::requestFrom(int, int)

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp: In member function 'uint8_t TwoWire::requestFrom(int, int)':

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:100: error: no matching function for call to 'TwoWire::requestFrom(uint8_t, uint8_t, uint8_t)'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:93: note: candidates are: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:98: note: uint8_t TwoWire::requestFrom(int, int)

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp: At global scope:

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:103: error: prototype for 'uint8_t TwoWire::requestFrom(int, int, int)' does not match any in class 'TwoWire'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:98: error: candidates are: uint8_t TwoWire::requestFrom(int, int)

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:93: error: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:137: error: prototype for 'uint8_t TwoWire::endTransmission(uint8_t)' does not match any in class 'TwoWire'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\/Wire.h:51: error: candidate is: uint8_t TwoWire::endTransmission()

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp: In member function 'uint8_t TwoWire::endTransmission()':

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:154: error: no matching function for call to 'TwoWire::endTransmission(bool)'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:152: note: candidates are: uint8_t TwoWire::endTransmission()

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp: At global scope:

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:160: error: no 'size_t TwoWire::write(uint8_t)' member function declared in class 'TwoWire'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:185: error: no 'size_t TwoWire::write(const uint8_t*, size_t)' member function declared in class 'TwoWire'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:203: error: prototype for 'int TwoWire::available()' does not match any in class 'TwoWire'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\/Wire.h:58: error: candidate is: uint8_t TwoWire::available()

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:211: error: no 'int TwoWire::read()' member function declared in class 'TwoWire'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:227: error: no 'int TwoWire:eek()' member function declared in class 'TwoWire'

C:\Users\Aqua\Documents\Arduino\libraries\Wire\Wire.cpp:238: error: no 'void TwoWire::flush()' member function declared in class 'TwoWire'

*********************************************************

Pardon me if this error is just minor and could be resolved easily. I am a novice in programming. So please help me to resolve this error message.


shellydsilva is offline   Reply With Quote