Skip to content

Help to make a DS2413 device with a tiny45 #1

@Medel

Description

@Medel

I try to compile it with WinAVR-20100110 but there was an Error:

ows.c:61: warning: 'ows_delay_15uS' is static but used in inline function 'ows_delay_30uS' which is not static
ows.c:62: warning: 'ows_delay_15uS' is static but used in inline function 'ows_delay_30uS' which is not static
make: *** [ds2413_attiny13] Error 1

I changed:
ows.c line 47 from:
static void ows_delay_15uS() // delayMicroseconds(15)
to:
inline void ows_delay_15uS() // delayMicroseconds(15)

now it compiles

I write ds2413_attiny45.hex to the tiny45:
but if i connect it to the 1wire bus PIN3 (PB4) - OWFS dont't recognize it.

I write ds2413ex_attiny45.hex to the tiny45:
but the device interrupts the bus - there are no devices in OWFS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions