Tiny I2C Watchdog

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
MiKa1975
Normal user
Posts: 17
Joined: 03 Dec 2015, 13:37

Tiny I2C Watchdog

#1 Post by MiKa1975 » 25 Mar 2016, 07:44

Hi,
which library to download for Arduino ide for compiling TinyI2CWatchdog.ino ???
Regards,
MiKa

MiKa1975
Normal user
Posts: 17
Joined: 03 Dec 2015, 13:37

Re: Tiny I2C Watchdog

#2 Post by MiKa1975 » 29 Mar 2016, 13:01

Hi,
please help! ;)
also please upload TinyWireS_Custom.h :shock:
Regards,
Mika

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: Tiny I2C Watchdog

#3 Post by chrille » 29 Mar 2016, 15:04

MiKa1975 wrote:please help! ;)
also please upload TinyWireS_Custom.h :shock:
The Arduino IDE doesn't come with support for ATTiny by default - you need to add an additionel board manager (like with ESP8266)

Please see: http://highlowtech.org/?p=1695

(disclaimer: My Attiny IC's are still on their way from China, so I haven't tested it yet). You also need an ICSP programmer, like USBISP to program the Attiny

- Jan
Jan Chrillesen, Denmark

MiKa1975
Normal user
Posts: 17
Joined: 03 Dec 2015, 13:37

Re: Tiny I2C Watchdog

#4 Post by MiKa1975 » 29 Mar 2016, 18:10

Hi,
This I have done but still not possible to compile sketch without " TinyWireS_Custom.h "
guys, please upload that file...
Regards,
MiKa

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: Tiny I2C Watchdog

#5 Post by chrille » 29 Mar 2016, 19:16

MiKa1975 wrote:Hi,
This I have done but still not possible to compile sketch without " TinyWireS_Custom.h "
guys, please upload that file...
Try to pull the latest version from github - the missing files seems to have been added now
https://github.com/ESP8266nu/ESPEasy/bl ... S_Custom.h
Jan Chrillesen, Denmark

MiKa1975
Normal user
Posts: 17
Joined: 03 Dec 2015, 13:37

Re: Tiny I2C Watchdog

#6 Post by MiKa1975 » 29 Mar 2016, 19:32

Hi,

Not possible to compile with arduino IDE 1.6.5 and 1.6.8 many errors and:
"collect2.exe: error: ld returned 5 exit status Error compiling."

Maybe problem with Arduino TINY library....

Regards,

MiKa

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: Tiny I2C Watchdog

#7 Post by chrille » 29 Mar 2016, 20:13

MiKa1975 wrote:Not possible to compile with arduino IDE 1.6.5 and 1.6.8 many errors and:
"collect2.exe: error: ld returned 5 exit status Error compiling."

Maybe problem with Arduino TINY library....
I changed

Code: Select all

#include "TinyWireS_Custom.h"
to

Code: Select all

#include "TinyWireS_Custom/TinyWireS_Custom.h"
...and I was able to compile. Arduino IDE 1.6.8 on Mac with ATtiny 1.0.1 board manager, using ATTiny85, 1 MHz

Code: Select all

Sketch uses 3.812 bytes (46%) of program storage space. Maximum is 8.192 bytes.
Global variables use 171 bytes of dynamic memory.
I still don't have any actual hardware to test it
Jan Chrillesen, Denmark

Post Reply

Who is online

Users browsing this forum: No registered users and 53 guests