I want to use an Attiny85 as a slave to send some data over I2C to a master (in my case, Uno). I burned the bootloader on the Attiny85(Internal clock, 16 Mhz) and downloaded the TinyWireS library. This is the code on the Attiny:
It might be the digispark - I have several, and the default is 16.5MHz.
Where do you have that information from? The digispark I know run at 8MHz. Please provide a link the page where you found the specification of 16.5 MHz.
Which attiny core do you use to program? The ATtinyCore available in the boards manager of the IDE doesn't have support for the digispark. Every ATtiny85 has an internal 8MHz oscillator. You can have external resonators or crystals that put the clock to 16MHz or 20MHz. As the digispark doesn't show an external clock source it probably runs at 8MHz.
This is very insteresting. I didn't know that the X5 Tinys have that high frequency PLL internally. Using the low fuse value in the patch I found the appropriate section (6.2.2) in the datasheet. Thank you, I love to learn new stuff!
TinyWireS.send("helloo");
Please provide a link to the library you're using. My version of TinyWireS defines the send method like this:
void send(uint8_t data);
So you can send one byte after the other and there's no version that accepts a string. Unfortunately the compiler doesn't complain about that mistake. Fix that and try again. Post the results.