-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USIWire issue? #7
Comments
Hi,
To me this looks like multiple libraries/library versions for the USIWire implementation in your library path. Could you check and verify that you have only one library version (and preferably the one that I used i.e., 0.1.0)?
The same seems to have happened with your eeprom library...
Cheers, Joachim
Am 24. Feb. 2020, 21:25 +0100 schrieb pawsnizzy <notifications@github.com>:
… Hi,
I am intent on implementing this device on my RPi, but am getting the following errors in the Arduino IDE:
`In file included from C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USI_TWI_Master/USI_TWI_Master.h:76:0,
from C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USIWire.cpp:27:
C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USI_TWI_Master/usi_io.h:1:1: error: expected unqualified-id before '.' token
../USI_TWI_Slave/usi_io.h
^
C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USIWire.cpp: In member function 'void USIWire::begin()':
C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USIWire.cpp:55:3: error: 'USI_TWI_Master_Initialise' was not declared in this scope
USI_TWI_Master_Initialise();
^~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USIWire.cpp:55:3: note: suggested alternative: 'USI_TWI_Slave_Initialise'
USI_TWI_Master_Initialise();
^~~~~~~~~~~~~~~~~~~~~~~~~
USI_TWI_Slave_Initialise
Multiple libraries were found for "USIWire.h"
Used: C:\Users\Dave\Documents\Arduino\libraries\USIWire
Multiple libraries were found for "EEPROM.h"
Used: C:\Program
exit status 1
Error compiling for board ATtiny25/45/85.
`
Can you suggest where I went wrong - these error messages might as well be in greek:(
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
No multiple libaries at all - I've even gone so far as to delete EVERY library except the 2 above - and it's still the same |
I have same problem. Arduino 1.8.12. Without Usiwire library I get error about missing library (as expected)
Now, I install library as Sketch - Include Library - Add .ZIP Library and I choose USIWire-0.1.0.zip. I click Very/Compile and I get the same error:
|
Ok, I'm not sure how this happens, but if you use "Sketch - Include Library - Add .ZIP Library", then the file contains only the following: "../USI_TWI_Slave/usi_io.h". This is clearly wrong and two possible explanations are on the top of my mind:
Two simple possible fixes:
I suggest the second way as the general way to install libraries. This ensures that everything that goes wrong comes from your own errors. |
Hello, I am the original author of PS: @jbaumann very amazing project! I had something like this in mind when developing USIWire. I will give it a try! |
Thank you guys, release 0.2.0 solved the issue. |
Hi,
I am intent on implementing this device on my RPi, but am getting the following errors in the Arduino IDE:
`In file included from C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USI_TWI_Master/USI_TWI_Master.h:76:0,
C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USI_TWI_Master/usi_io.h:1:1: error: expected unqualified-id before '.' token
../USI_TWI_Slave/usi_io.h
^
C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USIWire.cpp: In member function 'void USIWire::begin()':
C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USIWire.cpp:55:3: error: 'USI_TWI_Master_Initialise' was not declared in this scope
USI_TWI_Master_Initialise();
^~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Dave\Documents\Arduino\libraries\USIWire\src\USIWire.cpp:55:3: note: suggested alternative: 'USI_TWI_Slave_Initialise'
USI_TWI_Master_Initialise();
^~~~~~~~~~~~~~~~~~~~~~~~~
USI_TWI_Slave_Initialise
Multiple libraries were found for "USIWire.h"
Used: C:\Users\Dave\Documents\Arduino\libraries\USIWire
Multiple libraries were found for "EEPROM.h"
Used: C:\Program
exit status 1
Error compiling for board ATtiny25/45/85.
`
Can you suggest where I went wrong - these error messages might as well be in greek:(
Thanks
The text was updated successfully, but these errors were encountered: