Comments (4)
Please show a minimal example and describe the settings and the version you are using (ATTiny Core).
I cannot reproduce that. The examples TestMaster
and TestSlave
compile for me. Tested with:
- Arduino: 1.8.12
- ATTinyCore: 1.3.3
- Board: ATtiny25/45/85
- Chip: ATtiny85
from usiwire.
[copied from original issue]
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:
- The original author uses a symbolic link that is interpreted wrongly by the Arduino IDE when unpacking the files
- The Zip-Archive knows that both files are the same and saves only a reference, which again is interpreted wrongly by the Arduino IDE
In both case I would see the problem in the Arduino IDE.
Two simple possible fixes:
- Copy the file from the TWI_Slave over to the TWI_Master
- Remove the directory, unpack the library manually and copy it to your libraries folder
I suggest the second way as the general way to install libraries. This ensures that everything that goes wrong comes from your own errors.
from usiwire.
Release 0.2.0 solved the issue.
from usiwire.
Thank you for reporting and pointing the issue. Version 0.2.0 was released, which no longer contains symbolic links.
According to the Library Manager FAQ, symlinks are no longer allowed, this was documented in February 2018. This is probably also the reason why USIWrire disappeared from the Arduino Library Manager.
from usiwire.
Related Issues (13)
- To large error HOT 1
- Two Attiny85s - NACK after sending 16 byte HOT 1
- Enhancement: Provide Callback on entering Interrupt Routine HOT 1
- Way to large sketch
- ATtiny85 hold time
- Bundling USIWire with MegaCore HOT 3
- test failure HOT 2
- Is SPI compatible? HOT 1
- Library Clarification HOT 6
- Switching between master and slave role on ATTiny85 fails. HOT 10
- change pins Attiny85 HOT 1
- I2C speed for 1Mhz internal oscillator HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usiwire.