This looks great!
So, not using the out of date examples, but just the blocks to create my own program - when I try to run, I get errors.
[i]C:\Program Files (x86)\miniBloq\work_temp/comp1/output/SparkiWire.cpp.o: In function TwoWire::write(unsigned char const*, unsigned int)': C:\Program Files (x86)\miniBloq/libs/Arduino/Sparki/v1.0/SparkiWire.cpp:195: undefined reference to
twi_transmit’
C:\Program Files (x86)\miniBloq\work_temp/comp1/output/SparkiWire.cpp.o: In function TwoWire::write(unsigned char)': C:\Program Files (x86)\miniBloq/libs/Arduino/Sparki/v1.0/SparkiWire.cpp:177: undefined reference to
twi_transmit’
C:\Program Files (x86)\miniBloq\work_temp/comp1/output/SparkiWire.cpp.o: In function TwoWire::endTransmission(unsigned char)': C:\Program Files (x86)\miniBloq/libs/Arduino/Sparki/v1.0/SparkiWire.cpp:140: undefined reference to
twi_writeTo’
C:\Program Files (x86)\miniBloq\work_temp/comp1/output/SparkiWire.cpp.o: In function TwoWire::requestFrom(unsigned char, unsigned char, unsigned char)': C:\Program Files (x86)\miniBloq/libs/Arduino/Sparki/v1.0/SparkiWire.cpp:85: undefined reference to
twi_readFrom’
There are errors.[/i]
But, when I take that code and put it into sparkiduino it works fine. So at the mo I can use it in a rather long winded fashion (although strangely I don’t seem able to directly copy and paste for some reason - have to paste into word first, then copy and paste a second time (odd I know). Should I be worrying/letting you know that it won’t compile and run directly, or just wait for the next release?
Thanks!
(It is still helping me teach myself and my daughters a bit of programming, so I still see this a success!)