Trouble by programming (attachinterrupt inside lib and defines)

Status
Not open for further replies.

Markus_L811

Well-known member
Hi folks,

I have there an problem by my programming on the Onewireslave lib, I try to integrate the attachinterrupt inside the lib, as far to this it works so far that I have attached an interrupt and get it from an function outside the class over an static inside and an tricky static link (provided by an genius) back inside the class functions, but the defines now corrupt the teensy dead lock until reboot.

So I don't know a solution I hope someone does, there I post the code with all my mess inside.

Hoping someone has an idea

Markus

atm working this on an T3.1
 

Attachments

  • OneWireSlave.cpp
    25.2 KB · Views: 150
  • OneWireSlave.h
    14 KB · Views: 201
  • DS18B20_Slave_Interrupt_universal_analogread_T3.ino
    2.2 KB · Views: 98
Status
Not open for further replies.
Back
Top